datetimepicker 2.3.11 and before relies on the output of `new Date().toString()` in a buggy way. Expected output: `Fri Aug 18 2017 15:59:09 GMT+0200 (Central Europe Daylight Time)` Actual output in some browsers: `Fri Aug 18 2017 15:59:59 GMT+0200` Buggy code: `this.defaultTimeZone = (new Date).toString().split("(")[1].slice(0, -1);` This is fixed in version 2.3.12 of datetimepicker. Please upgrade to at least this version (current version is 2.4.4) . I could provide a pull request if you like.
datetimepicker 2.3.11 and before relies on the output of
new Date().toString()in a buggy way.Expected output:
Fri Aug 18 2017 15:59:09 GMT+0200 (Central Europe Daylight Time)Actual output in some browsers:
Fri Aug 18 2017 15:59:59 GMT+0200Buggy code:
this.defaultTimeZone = (new Date).toString().split("(")[1].slice(0, -1);This is fixed in version 2.3.12 of datetimepicker. Please upgrade to at least this version (current version is 2.4.4) .
I could provide a pull request if you like.