4 ms·
That's an interesting perspective because if I use America/New_York I would assume that it's subject to the laws of New York City. If I wanted a different DST r
by cyberrock 5mo ago
That's an interesting perspective because if I use America/New_York I would assume that it's subject to the laws of New York City. If I wanted a different DST regime I'd just use +4, +5, or a different city.
- burntsushi 5mo agoThat's a complaint against how time zones are themselves named and organized. See https://ftp.iana.org/tz/tzdb-2022b/theory.html https://ftp.iana.org/tz/tzdb-2022b/theory.html for all the gory details. Using +4 or +5 explicitly instead of a time zone when DST is relevant is bad juju. Then your arithmetic can become silently wrong in subtle ways when it cross a DST boundary.
- cyberrock 5mo agoAh I see, I didn't understand the original question properly. "Choose one side of DST or another" was meant for the time literal, not the TZ. That's my bad.