Ugh, I'm tired of seeing email with Date: headers in UTC. Unfortunately this means that I'm going to need an Emacs date/time library for this, unless Emacs already has it built in somewhere (unlikely, but I guess I'll be searching the existing standard mail handling stuff).
Conversation
Notices
-
Embed this notice
Chris Siebenmann (cks@mastodon.social)'s status on Sunday, 10-Nov-2024 07:49:07 JST Chris Siebenmann -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Sunday, 10-Nov-2024 07:49:07 JST Haelwenn /элвэн/ :triskell: @cks Shouldn't emails be sorted according to received-data anyway? (Although that's not in the headers so maybe exclusive to like Maildir) -
Embed this notice
Chris Siebenmann (cks@mastodon.social)'s status on Sunday, 10-Nov-2024 07:56:47 JST Chris Siebenmann @lanodan I see them sorted in received order, but I sometimes want to see when a particular message was sent in my local time while reading it.
(The trigger case was 'this event is starting in <X> minutes', which I only saw after getting home from a bike ride, and I was thinking 'was this sent recently or not so recently?')
Haelwenn /элвэн/ :triskell: likes this. -
Embed this notice
Haelwenn /элвэн/ :triskell: (lanodan@queer.hacktivis.me)'s status on Sunday, 10-Nov-2024 08:01:19 JST Haelwenn /элвэн/ :triskell: @cks Ah yeah, luckily I haven't had this case yet.
Maybe it's rare enough for manually reaching for date -d to be fine? (Note: The GNU implementation of it is awful and won't return errors if it failed to parse, but email dates are in a standard format so should be fine)
-
Embed this notice