|
|
|
|
|
by feld
3797 days ago
|
|
The event was literally moved to a different time UTC. I'm glad we agreed that it was rescheduled. UTC is still the correct way to store it if you want it to be timezone-aware. If every event a specific application needs to be at local time regardless of what the timezone is, stop storing any reference to a timezone. |
|
I think I see the confusion here. If you went to a group of people and said the movie you were all going to was rescheduled from 11pm UTC to 10pm UTC because of DST you'd get a bunch of "Huh?" and "What local time was it rescheduled to?" You'd answer it was rescheduled from 6pm to 6pm local time. You'd get a bunch of laughs at your "geek humour" while they secretly thought you were nuts. :)
Social events like meetings, movies, etc. are not considered rescheduled when DST starts/stops or the TZ rules get changed.
If you stored the event as UTC you'd have to alter your database when DST starts/stops or the TZ rules changed (is your system going to compare the old and new rules automatically now?).