News for hackers. Stuff that matters.
Re:Infinite loop in macOS Night Shift in the summer near the... by jon-wood on Saturday June 29, 2019 @06:58AM (#20311891)
Most standard libraries still have support for the Julian calendar. That stuff is never going away.
Re:Infinite loop in macOS Night Shift in the summer near the... by jki275 on Sunday June 30, 2019 @08:32AM (#20317858)
Julian calendar is still used by the US Navy. Every supply department office you go into has a conversion table up on the wall.
Re:Infinite loop in macOS Night Shift in the summer near the... by mkl on Saturday June 29, 2019 @08:08AM (#20312119)
I doubt it's "most". Python, Javascript, and C++ don't seem to. The only ones I found that do seem to are C# and Java.
Re:Infinite loop in macOS Night Shift in the summer near the... by inlined on Saturday June 29, 2019 @04:46PM (#20314684)
I just got a ruby gem from someone who actually made tables on the stuff. I made a script that cut out far past and future times to lower loading time from 10m to 30s and figured I could upgrade the gem to leverage an expert’s research as timezones changed (e.g. India changing zones)