Using UTC time in Date header

Gregory Anders greg at gpanders.com
Sat May 15 01:18:38 UTC 2021


On Sat, 15 May 2021 11:07 +1000, raf wrote:
>just create a shell function like this:
>
>  mutt() { TZ=UTC /usr/bin/mutt "$@"; }
>

I did discover this after asking my question, and it's an okay solution, 
but it has the side effect of changing timezones *everywhere* in Mutt, 
not just in the date header. So, for example, showing mail arrival times 
in my local timezone no longer works.

I sent a patch [1] to add a new 'local_date_header' option (enabled by 
default) that should enable this behavior, for anyone else who may be 
interested.

Thanks,

Greg

[1]: https://lists.sr.ht/~kevin8t8/mutt-dev/%3C20210515005500.76492-1-greg%40gpanders.com%3E


More information about the Mutt-users mailing list