News for hackers. Stuff that matters.
Re:US Senate votes unanimously to make daylight savings time... by lelandfe on Tuesday March 15, 2022 @04:30PM (#30691185)
I doubt most of my colleagues even know what their offset is – keeping track of that with DST is just not fun. Personally I just Google e.g. "2pm PT in CT," as Google has an info box that handles time conversions and is smart enough to know when you want DST.
Re:US Senate votes unanimously to make daylight savings time... by pflanze on Wednesday March 16, 2022 @12:07PM (#30700563)
For people not wanting to use Google, I've written a script "dateparse"[1] that allows to do the same:

    $ TZ=America/Chicago dateparse '2pm PT'
    2pm PT: assuming PDT
    1647464400  Wed Mar 16 16:00:00 CDT 2022
(You don't need to set TZ if your local time is already CT, of course.)

[1] https://github.com/pflanze/chj-bin/blob/master/dateparse