-
Bug
-
Resolution: Fixed
-
Low (View bug fix roadmap)
-
4.4, 5.0.4, 5.1.2, 5.1.7, 5.2.4, 5.2.5
-
4.04
-
The Date Time custom field no longer reporting the current time. It looks as if the time is reporting in UTC +8.
The field was working correctly in JIRA 4.3.4. Does not work in JIRA versions 4.4+
Workaround:
There is a workaround found by lucgauf:
Modify the file Calendar-min.js located in /includes/lib/calendar/
This file looks like there is no line break so I can't give the line but you have to include this code between :
... this.isPopup=false } // start code to add if (this.dateStr) { var dateStrCustom = ""+this.dateStr; dateStrCustom = dateStrCustom.replace(/-/g,"/").replace(/(\d\d)+T+(\d\d)/, "$1 $2"); this.date=new Date(dateStrCustom); } if (!this.date || isNaN(this.date)) { this.date=new Date(); } // end code to add var table=Calendar.createElement("table"); ...
It works with IE9 and FF8, our JIRA version is 4.4.3.
Important: This workaround consists of modifying the bundled JIRA code, and hence, Atlassian does not provide support to it. We recommend to upgrade your JIRA to a version which contains the fix to resolve this issue permanently.
- is duplicated by
-
JRASERVER-26693 Initial time shown for date time custom field is not correct for the user's timezone in Chrome, IE9 and Safari.
-
- Closed
-
-
JRASERVER-27085 Date Time Picker are not following the server/profile setting time
-
- Closed
-
-
JRASERVER-29088 Time zone contradicts on Date Picker field with Google Chrome
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...
-
Wiki Page Loading...
Luc, your IT Team is awesome! Thanks! It works perfectly! We use JIRA 4.4.5.
One note for other folks who may implement this:
I came across a problem in IE 9 whereby the calendar gadget was not appearing. When I would click on the calendar icon the screen would jump back to the top, but no calendar would appear. I played around with the compatibility settings in IE and that got the calendar to pop up, but honestly, when I put the compatibility settings back to their original settings, the calendar continued to display properly. If you encounter this problem, I suggest going down this route first:
Administration -> System, Look & Feel.
Scroll to the bottom of the page where you will see "Refresh Client Resources". Click on that.
Click on "Clicking this link".