Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11949

Date property stored in XAR depends on the current system time zone

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Minor
    • None
    • 1.0
    • Old Core
    • None
    • Unknown

    Description

      The xobject date properties are serialized relative to the current system time zone and the time zone is not stored so there is no way to know what was the real date/time.

      In practice it means that if you export a XAR from a server configured with GMT and import it in a server configured with GMT+1 all xobject date properties will be changed.

      Even if it sounds pretty bad it always been like this and did not heard much complains, I guess this is not a very common use case (even if the concept of storing a date without the time zone give me headaches).

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: