News for hackers. Stuff that matters.
Re:US Senate votes unanimously to make daylight savings time... by aadvark69 on Tuesday March 15, 2022 @02:46PM (#30689295)
Incoming mass patching of any and all Date/Time libraries
Re:US Senate votes unanimously to make daylight savings time... by foepys on Tuesday March 15, 2022 @02:53PM (#30689395)
Which production-ready datetime library doesn't use zoneinfo? There should be no need to patch otherwise there would be quite a lot of patching happening each year. The current version is 2021e, meaning it's the 5th iteration for 2021.

Notably Fiji decided to not use DST in 2021/2022 but apparently plans to resume using it afterwards.

Re:US Senate votes unanimously to make daylight savings time... by spiffytech on Tuesday March 15, 2022 @03:51PM (#30690554)
Any software using an IANA zone (e.g., America/New_York) shouldn't have any trouble. But any software that uses zone labels like EST might do the wrong thing, since EDT is being renamed to EST but will still have EDT's offset.
Re:US Senate votes unanimously to make daylight savings time... by itslennysfault on Tuesday March 15, 2022 @03:01PM (#30689555)
Honestly.... California already approved a measure to do this (there are a bunch more steps to make it actually happen). So, this is WAY better than if WA/OR were an hour apart from CA for half the year. Also, Seattle/Portland (etc) would suddenly not be America/Los_Angeles timezone anymore.
Re:US Senate votes unanimously to make daylight savings time... by lotsofpulp on Tuesday March 15, 2022 @03:10PM (#30689773)
WA and OR already did permanent daylight savings time, same as CA. All 3 states were just waiting for the federal government to allow them to change.
Re:US Senate votes unanimously to make daylight savings time... by itslennysfault on Tuesday March 15, 2022 @07:01PM (#30693076)
This is incorrect. Not sure where you get your news.
Re:US Senate votes unanimously to make daylight savings time... by lotsofpulp on Tuesday March 15, 2022 @07:06PM (#30693123)
I was wrong about California, looks like the voters approved allowing the legislature to vote on going to daylight savings time permanently, but the CA legislature has not done so:

https://en.wikipedia.org/wiki/2018_California_Proposition_7

WA has enacted it, pending federal government approval:

https://app.leg.wa.gov/RCW/default.aspx?cite=1.20.052

Looks like Oregon’s is contingent on California enacting it, but it is a passed law:

https://olis.oregonlegislature.gov/liz/2019R1/Downloads/Meas...

https://www.opb.org/article/2021/11/06/oregon-wants-to-stop-...

Re:US Senate votes unanimously to make daylight savings time... by gwbas1c on Tuesday March 15, 2022 @02:50PM (#30689360)
Oh, we've changed them so many times at this point. In the 2000s we changed the dates that we move the clocks back and forth.

This is probably just a configuration update.

Re:US Senate votes unanimously to make daylight savings time... by aadvark69 on Tuesday March 15, 2022 @02:53PM (#30689400)
>probably just a configuration update.

famous last words

Re:US Senate votes unanimously to make daylight savings time... by lokar on Tuesday March 15, 2022 @02:53PM (#30689404)
The zoneinfo files describe the rules, past, present and future
Re:US Senate votes unanimously to make daylight savings time... by Mountain_Skies on Tuesday March 15, 2022 @03:35PM (#30690288)
True but hopefully this would be "the last time" in the US for this sort of thing.