-
Bug
-
Resolution: Fixed
-
P3
-
8u60, 9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8131309 | 8u66 | Anton Tarasov | P3 | Resolved | Fixed |
Since java 8u60 we have the problem that the wrong date will be shown Kendo UI components like the datepicker.
We think that the following bugs are related with the problem that getTimezoneOffset() of an ISO string returns a wrong value.
new Date('2015-06-09T22:00:00.000Z').getTimezoneOffset()
should return -120 in case of the following timezone
(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
but it returns 1320
I also noticed that for the following time zones:
(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
(UTC+01:00) Brussels, Copenhagen, Madrid, Paris
(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb
In addition we wrote a short page which gives you the possibilty to reproduce that error.
Open the following page to reproduce the following two bugs
http://output.jsbin.com/gokoxo
Bug 1 - Datepicker shows the wrong date
1. click on the calendar button and select a date like the 6/10/2015
2. now you should see that the textfield stores the wrong date 6/09/2015
Bug 2 - Datepicker shows the the same day number for nearly the whole month. (see https://drive.google.com/file/d/0B7P_rknS1TWxSExTTHNPXzBGYVE/view?usp=sharing)
1. do the same (step 1 and 2) as for bug 1
2. change the month to september
These are major bugs for us and we have to told our customers that they should avoid Java 8u60 if these bugs still exist in the release version.
Thanks in advance!
Best Regards,
Steve
We think that the following bugs are related with the problem that getTimezoneOffset() of an ISO string returns a wrong value.
new Date('2015-06-09T22:00:00.000Z').getTimezoneOffset()
should return -120 in case of the following timezone
(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
but it returns 1320
I also noticed that for the following time zones:
(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague
(UTC+01:00) Brussels, Copenhagen, Madrid, Paris
(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb
In addition we wrote a short page which gives you the possibilty to reproduce that error.
Open the following page to reproduce the following two bugs
http://output.jsbin.com/gokoxo
Bug 1 - Datepicker shows the wrong date
1. click on the calendar button and select a date like the 6/10/2015
2. now you should see that the textfield stores the wrong date 6/09/2015
Bug 2 - Datepicker shows the the same day number for nearly the whole month. (see https://drive.google.com/file/d/0B7P_rknS1TWxSExTTHNPXzBGYVE/view?usp=sharing)
1. do the same (step 1 and 2) as for bug 1
2. change the month to september
These are major bugs for us and we have to told our customers that they should avoid Java 8u60 if these bugs still exist in the release version.
Thanks in advance!
Best Regards,
Steve
- backported by
-
JDK-8131309 [WebView] getTimezoneOffset() of a ISO strings returns a wrong value
- Resolved