Timezone information in JIRA is out of date and static per release leading to errors in date display

XMLWordPrintable

    • Type: Bug
    • Resolution: Timed out
    • Priority: Medium
    • None
    • Affects Version/s: 4.1, 4.1.1, 4.1.2, 4.2
    • Component/s: None
    • 4.01
    • Severity 2 - Major
    • Hide
      Atlassian Update – 04 December 2017

      Hi everyone,

      We have recently reviewed this issue and the overall interest in the problem. As the issue hasn't collect votes, watchers, comments, or support cases from many customers during its lifetime, it's very low on our priority list, and will not be fixed in the foreseeable future. That's why we've decided to resolve it as Time Out.

      Although we're aware the issue is still important to those of you who were involved in the conversations around it, we want to be clear in managing your expectations. The Jira team is focusing on issues that have broad impact and high value, reflected by the number of comments, votes, support cases, and customers interested. Please consult the Atlassian Bugfix Policy for more details.

      We understand how disappointing this decision may be, but we hope you'll appreciate our transparent approach and communication.

      Atlassian will continue to watch this issue for further updates, so please feel free to share your thoughts in the comments.

      Thank you,
      Ignat Alexeyenko
      Jira Bugmaster

      Show
      Atlassian Update – 04 December 2017 Hi everyone, We have recently reviewed this issue and the overall interest in the problem. As the issue hasn't collect votes, watchers, comments, or support cases from many customers during its lifetime, it's very low on our priority list, and will not be fixed in the foreseeable future. That's why we've decided to resolve it as Time Out . Although we're aware the issue is still important to those of you who were involved in the conversations around it, we want to be clear in managing your expectations. The Jira team is focusing on issues that have broad impact and high value, reflected by the number of comments, votes, support cases, and customers interested. Please consult the Atlassian Bugfix Policy for more details. We understand how disappointing this decision may be, but we hope you'll appreciate our transparent approach and communication. Atlassian will continue to watch this issue for further updates, so please feel free to share your thoughts in the comments. Thank you, Ignat Alexeyenko Jira Bugmaster

      JIRA uses Joda Time for time tracking and Joda Time ships with embedded timezone information. When governments change their minds and alter Daylight savings times this data is rendered obsolete causing JIRA to display times incorrectly and JIRA has no way of updating this information. This has recently occurred in Argentina which abolished daylight saving time in 2009.

      Oracle publish regular timezone data updates to correct this for the core Java packages, but Joda Time does not make use of these.

      Try this quick test with Joda Time 1.6 as shiooed with JIRA 4.2

          public void testArgentina()
          {
              {
                  TimeZone tz = TimeZone.getTimeZone("GMT-03:00");
                  assertFalse("Daylight", tz.inDaylightTime(new GregorianCalendar(2010, 10, 1).getTime()));
                  DateFormat format = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
                  format.setTimeZone(tz);
                  System.out.println(format.format(new Date()));
      
                  DateTimeZone jtz = DateTimeZone.forTimeZone(tz);
                  DateTimeFormatter jformat = DateTimeFormat.forStyle("SS").withZone(jtz);
                  jformat.print(new org.joda.time.DateTime());
                  System.out.println(jformat.print(new org.joda.time.DateTime()));
              }
              {
                  TimeZone tz = TimeZone.getTimeZone("America/Argentina/Buenos_Aires");
                  assertFalse("Daylight", tz.inDaylightTime(new GregorianCalendar(2010, 10, 1).getTime()));
                  DateFormat format = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
                  format.setTimeZone(tz);
                  System.out.println(format.format(new Date()));
      
                  DateTimeZone jtz = DateTimeZone.forTimeZone(tz);
                  DateTimeFormatter jformat = DateTimeFormat.forStyle("SS").withZone(jtz);
                  System.out.println(jformat.print(new org.joda.time.DateTime()));
              }
          }
      

            Assignee:
            Unassigned
            Reporter:
            Trevor Campbell (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: