@xarvos @psykose Huh what the fuck, why is there +0009 from my date(1) and even weirder things going on on GNU side but still +0009
$ echo $TZ Europe/Paris $ date -u -d 1111-11-11T11:11:11+1111 +%FT%T%z 1111-11-11T00:00:11+0000 $ date -d 1111-11-11T11:11:11+1111 +%FT%T%z 1111-11-11T00:00:11+0009 $ date -d 1111-11-11T11:11:11 +%FT%T%z 1111-11-11T11:11:11+0009 $ date -d 1111-11-11T11:11:11Z +%FT%T%z 1111-11-11T11:11:11+0009 $ date -d 1111-11-11T11:11:11+0000 +%FT%T%z 1111-11-11T11:11:11+0009 $ /usr/bin/date -d 1111-11-11T11:11:11+0000 +%FT%T%z 1111-11-11T11:20:32+0009 $ /usr/bin/date -d 1111-11-11T11:11:11+1111 +%FT%T%z 1111-11-11T00:09:32+0009 $ /usr/bin/date -u -d 1111-11-11T11:11:11+1111 +%FT%T%z 1111-11-11T00:00:11+0000Conversation
Notices
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Monday, 11-Nov-2024 22:25:31 JST Haelwenn /элвэн/ :triskell: -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 12-Nov-2024 06:44:59 JST Haelwenn /элвэн/ :triskell: @knapjack @xarvos @psykose Nah, worse, TZ offsets from a century ago are weird, tzdb puts it as 0:09:21 compared to GMT because Paris had it's own time instead of British time (not uncommon, Dublin/Dunsink Mean Time similarly was UT-00:25:21 so TZ=Europe/Dublin has the same kind of funny result until 1921-12-06).
-
Embed this notice
knapjack (knapjack@bonk.cozysumo.space)'s status on Tuesday, 12-Nov-2024 06:45:06 JST knapjack @lanodan @xarvos @psykose Leap seconds, maybe? What if you redo just the last two but change the year to like 2000?
-
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Tuesday, 12-Nov-2024 07:03:17 JST Haelwenn /элвэн/ :triskell: @knapjack @psykose @xarvos Meaning that for old time %::z should probably be used to show the offset that got applied:
$ /usr/bin/date -d 1111-11-11T11:11:11+1111 +%FT%T%::z 1111-11-11T00:09:32+00:09:21
-
Embed this notice