nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7

2018-01-20 15:34:39
Forgive me if  this is a dumb  question, but ... why do  you care what
the timezone is in your Date: headers?

Personally,  I've always  found the  timezone in  the Date  header quite
useful to convey a  sense of time. If all timezones  in Date headers are
UTC, then it  becomes difficult for interlocutors to  to predict whether
or not they're likely to receive a response to an email.

This came up during the last time we had this discussion, but ...
yeah, nowadays that information is much less useful since some systems
hardcode GMT.  My main point, however, was that actually rewriting the
message is not necessary unless there is some other reason I do not
understand.

Fortunately, my  email client (exmh)  does this for me  without actually
altering the message itself.

nmh can also do this natively, e.g.:

% scan -format '%(tws{date}) %(date2local{date})(%02(hour{date}):%02(min{date}) 
%<(dst{date})EDT%|EDT%>)'
Sat, 20 Jan 2018 18:01:18 +0000 (13:01 EDT)

Only appending the "corrected" time when the timezone differs from yours
is left as an exercise for the reader (it might be difficult to do it
without hardcoding your timezone into the mh-format script).

--Ken

-- 
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>