Re: Using UTC time in Date header

2021-05-16 Thread Joerg Dorchain
On Sun, May 16, 2021 at 10:32:33AM +1000, raf wrote: > > 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

Re: Using UTC time in Date header

2021-05-15 Thread raf
On Fri, May 14, 2021 at 09:43:21PM -0400, John Hawkinson 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

Re: Using UTC time in Date header

2021-05-14 Thread Gregory Anders
On Fri, 14 May 2021 19:57 -0600, Gregory Anders wrote: For example, I am one of those (rare) US/Mountain time zones, so I know I just need to subtract 6 from any UTC time to get my local time (7 during DST). Of course I got these backwards: it's 6 during DST and 7 otherwise. Maybe I just

Re: Using UTC time in Date header

2021-05-14 Thread Gregory Anders
I don't mean to invalidate your opinion, but I don't think using UTC universally is actually all that bad. Each individual person just needs to know their own personal UTC offset and then it's trivial to adjust. In my opinion, when everyone uses their own local time zone it actually makes

Re: Using UTC time in Date header

2021-05-14 Thread John Hawkinson
Gregory Anders wrote on Fri, 14 May 2021 at 21:57:04 EDT in : > I don't mean to invalidate your opinion, but I don't think using UTC > universally is actually all that bad. Each individual person just needs to That may be nice for you, but most of the non-software-engineering normal humans I

Re: Using UTC time in Date header

2021-05-14 Thread John Hawkinson
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,

Re: Using UTC time in Date header

2021-05-14 Thread Gregory Anders
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

Re: Using UTC time in Date header

2021-05-14 Thread raf
On Fri, May 14, 2021 at 02:22:43PM -0600, Gregory Anders wrote: > Hi all, > > The Date: header that Mutt adds to my sent emails includes my time zone > offset. I would prefer to have the header present the time of my email in > UTC time (offset 0). I wasn't able to find a setting that controls

Using UTC time in Date header

2021-05-14 Thread Gregory Anders
Hi all, The Date: header that Mutt adds to my sent emails includes my time zone offset. I would prefer to have the header present the time of my email in UTC time (offset 0). I wasn't able to find a setting that controls this. In fact, I'm not sure how Mutt is getting my time zone at all,