News for hackers. Stuff that matters.
Re:The Kobayashi Maru of comparing dates with times by mikepurvis on Saturday February 12, 2022 @05:44PM (#30317133)
Isn’t DateTime fairly consistently just a singular moment it time, either absolute (TZ specified) or floating and therefore locale dependent?

Pretty sure these are the two cases which the python stdlib datetime covers.

Re:The Kobayashi Maru of comparing dates with times by bobbyi on Saturday February 12, 2022 @06:07PM (#30317291)
1:30 AM on whatever date we "fall back" for DST isn't singular in my timezone
Re:The Kobayashi Maru of comparing dates with times by Laremere on Saturday February 12, 2022 @06:18PM (#30317362)
It depends on what you mean by timezones. 1:30am Pacific Time isn't well defined, but 1:30am PST and 1:30am PDT are.
Re:The Kobayashi Maru of comparing dates with times by brute on Saturday February 12, 2022 @06:50PM (#30317580)
Quick reminder that those timezone abbreviation are not unique (i.e. Philippine Standard Time)

https://www.timeanddate.com/time/zones/

Re:The Kobayashi Maru of comparing dates with times by PowerBar on Tuesday February 15, 2022 @01:01AM (#30343310)
Until daylight savings time ends and it's 1:30am twice. Time is hard.
Re:The Kobayashi Maru of comparing dates with times by danbruc on Saturday February 12, 2022 @06:48PM (#30317571)
Those two things are called the time zone - a geographical area that has and had the same time all the time - and the zone time within that time zone which might change from time to time, for example regularly because of daylight saving time or kind somewhat randomly because people change their mind about which time they want to use.