Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/17 09:54:12 (8 years ago)
Author:
jkarder
Message:

#2743: worked on web app

  • fixed InvalidOperationException
  • fixed date conversion
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.WebApp/3.3/WebApp/helper.js

    r12878 r14722  
    3131    var month = (1 + date.getMonth()).zeropad(2);
    3232    var year = date.getFullYear();
    33     var hour = (date.getHours() - 2).zeropad(2);
     33    var hour = (date.getHours() + date.getTimezoneOffset() / 60).zeropad(2);
    3434    var minute = date.getMinutes().zeropad(2);
    3535    var second = date.getSeconds().zeropad(2);
Note: See TracChangeset for help on using the changeset viewer.