[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7 |
Date: |
Sat, 20 Jan 2018 16:34:26 -0500 |
>> 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
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, (continued)
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Ralph Corderoy, 2018/01/20
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/20
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Ken Hornstein, 2018/01/20
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Andy Bradford, 2018/01/20
- Message not available
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7,
Ken Hornstein <=
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/21
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Paul Vixie, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, David Levine, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Ken Hornstein, 2018/01/15
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Paul Vixie, 2018/01/15
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Tom Lane, 2018/01/15
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Ken Hornstein, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Steven Winikoff, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Ken Hornstein, 2018/01/14
- Re: [Nmh-workers] proposed patch for shell metacharacter failure in nmh-1.7, Paul Vixie, 2018/01/15