display local time inside email
Michael Kjörling
ba47c4919fb5 at ewoof.net
Sun Sep 22 18:51:29 UTC 2024
On 22 Sep 2024 10:20 -0500, from mutt-users at mutt.org (Ranjan Maitra via Mutt-users):
> On Fri Sep20'24 08:42:12PM, (suppressed) wrote:
> As you can see, both these times are in UTC, but the first time does
> not even mention that.
>
> Anyway, what controls the display of this time? Where do I set it to
> local time (and specify the time zone)?
I'm not 100% sure of the latter, but for the former, $attribution is
what you are most likely looking for.
See http://mutt.org/doc/manual/#attribution and http://mutt.org/doc/manual/#date-format
As an example, mine is:
set attribution="On %{!%-e %b %Y %R %z}, from %a (%n):"
The %{} stanza expands to the date and time of the message I'm
replying to, and is passed to strftime(3) as also described under
$date_format. In turn, %z is the time zone specifier; in your case,
"-0500".
Hope this helps.
--
Michael Kjörling 🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”
More information about the Mutt-users
mailing list