Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-53589

Users can’t save a page when inserting a date on the day when Daylight Saving Time starts

    XMLWordPrintable

Details

    Description

      Summary

      Users can’t save a page when inserting a date on the day when Daylight Saving Time starts

      Steps to Reproduce

      1. Check the default time zone of the instance Asia/Beirut
      2. Verify when the Daylight Saving Time starts on that timezone 2016-03-27
      3. Try to edit a page insert date 2016-03-27
      4. The page can't be saved with error There was an error processing the request

      Expected Results

      Should be able to save the page after inserting the date.

      Actual Results

      There was an error processing the request error will appear when saving the page.

      clog appears

      2016-04-18 17:49:02.777643500 Caused by: org.joda.time.IllegalInstantException: Cannot parse "2016-03-27": Illegal instant due to time zone offset transition (Asia/Beirut)
      2016-04-18 17:49:02.777649500 	at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:471)
      2016-04-18 17:49:02.777650500 	at org.joda.time.format.DateTimeParserBucket.computeMillis(DateTimeParserBucket.java:411)
      2016-04-18 17:49:02.777650500 	at org.joda.time.format.DateTimeFormatter.parseDateTime(DateTimeFormatter.java:882)
      2016-04-18 17:49:02.777655500 	at com.atlassian.confluence.content.render.xhtml.model.time.Time.parseDate(Time.java:66)
      2016-04-18 17:49:02.777655500 	at com.atlassian.confluence.content.render.xhtml.model.time.Time.<init>(Time.java:26)
      

      Attachments

        Issue Links

          Activity

            People

              akashyap@atlassian.com Anand Kashyap
              jalor Janice Alor (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: