JS: Fix DST detection
refs #3607 Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
This commit is contained in:
parent
b4afdf4115
commit
d9b337a213
|
@ -14,7 +14,7 @@
|
|||
return Date.maxTimezoneOffset;
|
||||
}
|
||||
|
||||
var year = new Date().getYear();
|
||||
var year = new Date().getFullYear();
|
||||
var previousOffset;
|
||||
|
||||
for (var i=0; i<12; i++) {
|
||||
|
|
Loading…
Reference in New Issue