You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I grew up in Indiana, long enough ago that we didn't have to deal with this nonsense. But alas, madness seems to be almost universal. So:
$ date -d "2021-03-14 1:59"
Sun Mar 14 01:59:00 AM EST 2021
$ date -d "2021-03-14 2:00"
date: invalid date ‘2021-03-14 2:00’
$ date -d "2021-03-14 3:00"
Sun Mar 14 03:00:00 AM EDT 2021
I guess an alternate way of asking this is: what timezone does datediff assume when one isn't explicitly given? My naïve expectation was that it'd follow the timezone set in my environment, including handling DST transitions.
The text was updated successfully, but these errors were encountered:
* bug/129:
doc, mention special zones (UTC, TAI, GPS)
hygiene, update leap-seconds.list for upcoming release
doc, add paragraph about default zone parameter, fixes#129
I followed your suggestion and mentioned the special treatment of some zones, and UTC in particular. I'm ready to roll a new release, if not by this week then by the next.
I grew up in Indiana, long enough ago that we didn't have to deal with this nonsense. But alas, madness seems to be almost universal. So:
... but:
I guess an alternate way of asking this is: what timezone does
datediff
assume when one isn't explicitly given? My naïve expectation was that it'd follow the timezone set in my environment, including handling DST transitions.The text was updated successfully, but these errors were encountered: