Details
-
Bug
-
Resolution: Fixed
-
Low
-
3.13.4, 4.4.3, 5.0.2, 5.2
-
Client machine is set to timezone "America/Sao_Paolo" with DST on
-
3.13
-
Description
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
When your operating system has its timezone set to "Brazil" or "America/Sao_Paolo" or "GMT-3", there is a peculiarity in Javascript whereby the following happens:
Evaluating
javascript:document.innerHTML=new Date(2009,09,17)
produces the output
Sat Oct 17 2009 00:00:00 GMT-0300 (BRT)
and
evaluating
javascript:document.innerHTML=new Date(2009,09,18)
produces the output
Sat Oct 17 2009 23:00:00 GMT-0300 (BRT)
This is causing a bug in our calendar popup picker used for dates in JIRA, where for instance in 2009, the 17th of October is repeated twice, as shown in the screenshot. The problem repeats every October.
Similar problems could exist with other timezones and months. Brazil is different from Australia in that DST takes effect at Midnight.
The problem with the date picker only occurs when:
- The time component is set to Midnight (i.e. its a date-only picker, or a date-time picker with the time set to Midnight)
- There is already a value set for the component
Attachments
Issue Links
- causes
-
JSWSERVER-6640 Manually added non-working days are still displayed in the Classic Chart Board
- Closed
- is duplicated by
-
JRASERVER-35483 Duplicated date
- Closed
- relates to
-
JRACLOUD-19533 Calendar popup prints multiple dates in October when client is on Brazilian timezone
- Closed
- mentioned in
-
Page Loading...