by ta1243 · 3y ago · 0 comments
How do you store that? Given that it's sometimes going to be 1500UTC, sometimes 1400UTC, and in the future it could even be something else, and the date when it changes from EST to EDT in New York Can and Has changed.
But if you fly out to Amsterdam, it's really important that the time can and does reflect your current timezone ... or you're going to open zoom at exactly the wrong time. Even more fun is that EU DST is a different date than US DST.
Optimization is the ruination of all elegance.
Much better solution is to store the repeating event, and each event time, in the originating time zone. Then calculate other time zones from that, which is a little more complicated but doable.
There is no way to know whether New York will be in DST or not then. Timezone changes can be made with just a couple of days notice, and sometimes not even clear even once they've happened (or not happened)
See https://mm.icann.org/pipermail/tz/2023-March/032761.html for example.
Therefore the date stored should be April 29th 2026 10AM in New York, not 1400 UTC or 1500 UTC
And Australian DST is on different dates (it's summere here now), and not every state always changes on the same date.
2 do DST. And they change on different weeks. One is a half hour time zone and doesn’t do DST.
UTC plus time zones isn’t enough for recurring meetings.
If your meeting is 10AM Dublin, that's all you need
None of those timezones are half hour times. If you had a time at 10AM Delhi that would be fine too. Or 10AM Nepal.