-
-
Notifications
You must be signed in to change notification settings - Fork 192
Description
I don't know if #191 solves the problem.
Imagine this:
server timezone is 'UTC', and user's timezone is 'Europe/Berlin' (+01:00 or +02:00 depending on the time of the year).
Let's say user needs daily occurrences between 29.10. and 2.11. at 16:00h.
User is creating a recurrence on 26.10. when his timezone is +02:00 compared to UTC.
Current implementation will save dtstart as 14:00 UTC. And as result user would get next occurrences:
2022-10-29 14:00 UTC => 2022-10-17 16h Europe/Berlin (+02:00)
2022-10-30 14:00 UTC => 2022-10-17 16h Europe/Berlin (+02:00)
2022-11-01 14:00 UTC => 2022-10-17 15h Europe/Berlin (+01:00)
2022-11-02 14:00 UTC => 2022-10-17 15h Europe/Berlin (+01:00)
Because once the time is converted to UTC we don't know which time user wanted.
it should follow rule of the "creation" time zone, not server/UTC timezone,
Originally posted by @bonokl in #174 (comment)
one of the possible ideas can be some kind of setting attribute where user can decide whether to save all data as UTC or as it is