News for hackers. Stuff that matters.
Re:US Senate votes unanimously to make daylight savings time... by redwall_hp on Tuesday March 15, 2022 @03:51PM (#30690551)
My personal pet peeve is giving times in their local time zone when they know full well everyone is going to be in different time zones. Convert it to UTC so everyone can just worry about their offset.
Re:US Senate votes unanimously to make daylight savings time... by tshaddox on Tuesday March 15, 2022 @05:00PM (#30691644)
I'd rather people not do that, simply because I wouldn't trust most people to do the conversion in either direction. At least if the person setting the meeting gives the time in their local time time I can be relatively confident that at least they'll be there on time.
Re:US Senate votes unanimously to make daylight savings time... by coryfklein on Tuesday March 15, 2022 @04:44PM (#30691403)
If you attach a time zone, then at least some won't need to do a conversion in their heads.

If you just use UTC, then EVERYONE has to do some conversion in their heads.

(Unless some participants happen to live at the prime meridian, in which case using UTC as "the timezone" is equally as good.)

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