Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 38478a1b authored by Warren Rexroad's avatar Warren Rexroad
Browse files

Fix handling of UTC and "floating" tz.

moment.toDate() is replaced with manually building the date from components, then setting the correct timezone.
If a "floating" timezone is found, it is replaced with the local timezone according it `ICAL.Timezone.localTimezone`.
If `start` or `end` are in the UTC timezone, do not set the tzid parameter on the `dtstart` (or `dtend`) property. The TZID is not needed because the timestamp string will actually end with a "Z" indicating UTC timezone.
parent 8addb419
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment