Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-57776

Time is displaying differently after migrating from Server to Cloud

XMLWordPrintable

      Summary

      After migrating from Server to Cloud, the time is showing differently in "Page History" tab due to the JVM timezone. This is similar issue as in Jira: JRACLOUD-65305.

      Environment

      • Server to Cloud migration

      Steps to Reproduce

      1. In Confluence Server, make sure the user timezone is not set / has been set to other than UTC
      2. Perform a space export
      3. Import the backup into Confluence Cloud
      4. Compare the "Published" time in Page History between Server and Cloud

      Expected Results

      The time is showing the same as Confluence Server

      Actual Results

      The time is showing 8 hours late (taking UTC+8 as the example)

      Notes

      If -Duser.timezone is not set, it will take the system timezone.

      Workaround

      Please reach out to Atlassian Support to enable a fix on your site.

      This worked on only newly created content

      Set the user.timezone to UTC

      1. Under <installation-directory>/bin/
      2. Edit setenv.sh
      3. Add the timezone property:
        CATALINA_OPTS="-Duser.timezone=UTC ${CATALINA_OPTS}"

        1. Cloud-AU.png
          Cloud-AU.png
          41 kB
        2. Cloud-no-timezone.png
          Cloud-no-timezone.png
          47 kB
        3. Cloud-no-timezone-2.png
          Cloud-no-timezone-2.png
          45 kB
        4. Cloud-UTC.png
          Cloud-UTC.png
          43 kB
        5. screenshot2.jpg
          screenshot2.jpg
          139 kB
        6. Server.png
          Server.png
          29 kB
        7. Server-2.png
          Server-2.png
          40 kB

              0ec4cf8d04e6 Sergey Abramov
              cteh Ting (Chiou Ting Teh)
              Votes:
              9 Vote for this issue
              Watchers:
              28 Start watching this issue

                Created:
                Updated:
                Resolved: