You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Olivera (JIRA)" <ji...@apache.org> on 2018/07/24 18:09:00 UTC

[jira] [Created] (WICKET-6572) ClientPriperties TimeZone incorrect for daylight saving in southern hemisphere

Olivera created WICKET-6572:
-------------------------------

             Summary: ClientPriperties TimeZone incorrect for daylight saving in southern hemisphere 
                 Key: WICKET-6572
                 URL: https://issues.apache.org/jira/browse/WICKET-6572
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 7.4.0
            Reporter: Olivera


We are using wicket 7.4.0 and when DST is active in northern hemisphere the time zone is incorrect for southern hemisphere (where DST is used, but starts September and November and ends between March and April)

Bug is in the script [https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/html/pages/wicket-browser-info.js] where normal offset and DST offset are taken for the months corresponding to northern hemisphere normal and DST months.

Bug could be detected if you select for example Sydney timezone (testing when DST is inactive there, so between April and September) and open wicket example page [http://examples7x.wicket.apache.org/ajaxhellobrowser] the estimated time on this page would be incorrect



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)