Hacker News new | ask | show | jobs
by bakkoting 513 days ago
Lots of things are logically timezone-unaware. E.g., I have an alarm that goes off at 6AM every day; it should do so whatever timezone I'm in. Or, some holiday happens on the 14th of the month, not for a specific 24-hour period in a specific timezone.

These aren't "TZ ambiguous". These are "this thing does not logically have a specific associated timezone". For things which do logically have a specific associated timezone, there's ZonedDateTime.

1 comments

Are there other examples besides alarms or task reminders?
everything you do repeatedly / as part of a routine. wake up, exercise, read/study, take medicine/insulin…