diff --git a/jquery.timeentry.js b/jquery.timeentry.js index d48a647..029679f 100644 --- a/jquery.timeentry.js +++ b/jquery.timeentry.js @@ -1047,9 +1047,7 @@ if (!time) { return null; } - time.setFullYear(1900); - time.setMonth(0); - time.setDate(0); + time.setUTCFullYear(1900,0,0); return time; } }); diff --git a/timeEntryBasic.html b/timeEntryBasic.html index dc9e442..4b45671 100644 --- a/timeEntryBasic.html +++ b/timeEntryBasic.html @@ -9,7 +9,7 @@