On Sat 22 Jun 2024 at 12:26:05 (-0400), Greg Wooledge wrote:
> On Sat, Jun 22, 2024 at 09:51:32 -0500, David Wright wrote:
> > On Sat 22 Jun 2024 at 10:02:43 (-0400), Greg Wooledge wrote:
> > >     set date_format="!It's %a %d%b%Y at %H:%M:%S here, where clocks are 
> > > UTC%z"
> 
> > I think you need to set attribution, not date_format. For example,
> >   set attribution="On %{%a %d %b %Y} at %{%H:%M:%S (%z)}, %n wrote:"
> > is my own. The %{…} braces indicate using the sender's time zone.
> 
> The default value of attribution contains %d which references the
> date_format variable.  The "!" in the date_format variable says to
> use the C locale when writing the day-of-week and month abbreviations,
> rather than whatever your regular locale would call them.
> 
> I'm using this:
> 
>     set date_format="!%a, %b %d, %Y at %H:%M:%S %z"

I didn't mean that it won't work.

The attribution format is designed for the benefit of recipients.
The date_format is designed to be available for constructing
strings like indexes and folder lists for the user, as well as
external-facing uses. You might want to add text like "where clocks
are" to the top of a message, but it would be tedious to have a
column of
  where clocks are
  where clocks are
  where clocks are
  where clocks are
in an index.

Cheers,
David.

Reply via email to