Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-96448

Exported ics file from calendar does not contain timezone information

    Details

      Description

      The exported ics file does not contain information regarding the timezone used. This might cause some issues when the system timezone is different from UTC. As described on this comment depending on the system setup, the time might be exported with the wrong UTC value.

      Also on LPP-33969 it was noted that other calendar apps include the timezone on the ics, avoiding this kind of issue.

      For more details please see LPP-33969

      Steps to reproduce

      1. Add a calendar portlet to page
      2. Open calendar configuration
      3. Change "Time Zone" setting UTC to UTC +09:00
      4. Also change the "Time Zone" on the calendar that will be holding the events to UTC +09:00
      5. Add a calendar booking as follows
        Starts:5/27/2019 6:00AM
         Ends:5/27/2019 7:00AM
         Repeat:~5/31/2019
      1. Edit the booking on 5/29/2019, by adding a comment "Note" in the Description. Save it as a "Single Event"
        e.g
         Starts:5/29/2019 6:00AM
         Ends:5/29/2019 7:00AM
      1. Navigate to Liferay Calendars > Manage Calendars
      2. Export the calendar booking as ics file
      3. Open ics file with text editor
      4. Check "EXDATE" part

      Actual result
      The changed booking is 5/29, but EXDATE is 5/28. (i.e., it's in UTC, without any involvement of the Time Zone)

      Expected result
      EXDATE is 5/29 because it factors in the Time Zone (which was set on step #3). Note: Other web-based calendars such as Google Calendar or Apple Calendar permits the use of Time Zone by way of adding a TZID.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            lino.alves Lino Alves
            Participants of an Issue:
            Recent user:
            Jason Pince
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 20 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP86
                7.0.X
                7.1.10 DXP FP13
                7.1.X
                7.2.10 DXP FP1
                7.2.X
                7.2.1 CE GA2
                7.3.10 DXP GA1
                Master