Using UTC time in Date header
raf
mutt at raf.org
Sun May 16 00:32:33 UTC 2021
On Fri, May 14, 2021 at 09:43:21PM -0400, John Hawkinson <jhawk at alum.mit.edu> wrote:
> For what it's worth, I have a desire for the opposite kind of feature,
> although I don't quite know how it should work.
> I want to see and use timezones as displayed in messages as long as
> they are nearby US timezones that my brain is facile with the trivial
> arithmetic for (i.e. US/Eastern, US/Central, US/Pacific, and I suppose
> the rare US/Mountain).
>
> But when a header comes in UTC, I'd much rather convert it to local
> time, especially so I don't have to think about how DST affects the
> offset.
> [...]
> --
> jhawk at alum.mit.edu
> John Hawkinson
When my workplace switched to office365 (all but me anyway),
their emails started arriving with UTC date headers. So I
wrote a procmail recipe to filter incoming emails through
a little perl script to convert the date header to my timezone.
it's attached. the local timezone is hardcoded (sorry) but
can be changed as needed.
cheers,
raf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: procmail_filter_fix_outlook_date_header.pl
Type: text/x-perl
Size: 2373 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20210516/5b3683ee/attachment.pl>
More information about the Mutt-users
mailing list