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

The date displayed in the lightbox is not considering user timezone

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 14.4.3, 14.7-rc-1
    • 14.1-rc-1
    • Image
    • None
    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce

      1. Set a different user timezone from your user profile Preferences -> Localization Preferences -> Timezone
      2. Enable the lightbox feature from Administer Wiki -> Look & Feel -> Lightbox
      3. Create a page, add an image to the content and open the lightbox for it
      4. Compare the image date from the Attachments tab to the one displayed in lightbox

      Expected behavior: the dates are the same

      Actual behavior: the lightbox date is not consistent with the other dates (it uses the server timezone)

       

      Attachments

        1. attachmentDate.png
          31 kB
          Florean Oana-Lavinia
        2. lightboxDescription.png
          7 kB
          Florean Oana-Lavinia

        Activity

          People

            oana.florean@xwiki.com Florean Oana-Lavinia
            oana.florean@xwiki.com Florean Oana-Lavinia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: