D Soa commented on Bug JENKINS-6439

This looks like the reason for the off by one hour problem:
https://github.com/jenkinsci/jenkins/commit/f6ac62bfba80093b9cf3957b5055fcce2a15002a
<j:invokeStatic var="tz" className="java.util.TimeZone" method="getDefault"/>
    var tz = ${(tz.rawOffset + tz.DSTSavings) / 3600000};
The "fix" must have been made while we were in daylight savings time. Now that we aren't, it doesn't work.
The timezone offset can only be calculated when given a Date as a time of reference.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to