Uploaded image for project: 'Explorer'
  1. Explorer
  2. EXPLORER-498

[Event] Creation does not store the good timezone

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.2.17, 4.3.6, 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      See org.ametys.plugins.explorer.calendars.workflow.AddEventFunction._setEventData

      in line 167 startDateAsString (got from clientside) contians the timezone, but then startDate lost it, and so the event is created with a start date with the local date time of the client, but with the zone of the server !

      For instance if server is in Paris GMT+1, someone in Auckland GMT+12 will create its event in start=12:00 and then will see it with start=23:00 because the event is stored with start=12:00 for zone GMT+1

      Of course, same thing for end date (line 169).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sprieul Simon Prieul (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: