Developers are the only people against DST changes, just because of how complex it will get. Dear God cities are removing DST! Cities! It means I need to know if you are in or out of a city to know if you need to be shown daylight or standard time!
Dear God cities are removing DST! Cities! It means I need to know if you are in or out of a city to know if you need to be shown daylight or standard time!
That’s why it’s lucky that identifiers in the tz database are already things like America/New_York instead of “eastern time.”
Newfoundland has only just over 500k population and has a nice GMT-2:30 time zone. That’s an extra half hour difference. Many cities are larger so I can see them wanting better time for themselves.
Developers are the only people against DST changes, just because of how complex it will get. Dear God cities are removing DST! Cities! It means I need to know if you are in or out of a city to know if you need to be shown daylight or standard time!
Just please do it nationally yes or no
Write everything in UTC, cast to local time zone for UIs
Life problems solved
That… still requires knowing which time zone to display. It doesn’t remove the requirement at all.
.localtime(utctime)
and who implements localtime? You realize these functions call down to the system, and the system is very much ALSO written and maintained by coders…
The point is SOMEONE actually does have to implement it and maintain it.
That’s essentially what I did in my recent UI that I made for someone.
That’s why it’s lucky that identifiers in the tz database are already things like
America/New_York
instead of “eastern time.”Newfoundland has only just over 500k population and has a nice GMT-2:30 time zone. That’s an extra half hour difference. Many cities are larger so I can see them wanting better time for themselves.
Ugh. Any time I need to set up a meeting for IST.