At 07/11/01 10:16, Jeff Coppock wrote:
> I'm having trouble figuring out the date format for my
> attribution line. I want it to show as <mm/dd/yy hh:mm> or
> something a lot shorter than the default. Can someone provide
> this for me?
I typed this command before sending this reply:
set attribution = "At %{!%m/%d/%y %H:%M}, %n wrote:"
See 'man 3 strftime' for an explanation of the % codes inside %{...}.
2 things to note:
1) The time format is ambiguous because it doesn't include timezone
information. As it is, it will use the origininal sender's timezone
(the question was sent at 10:16 your local time). It would have
been mine local time if I had used %[...] instead of %{...}.
2) The time format is ambiguous because it will be interpreted as day
7 in November in many countries (for instance here in Denmark).