Re: Attribution shows date from Received: header in stead of Date:
* René Clerc [2007-07-17 14:17]:
* Kirill Miazine <km@xxxxxxxx> [17-07-2007 10:21]:
* René Clerc [2007-07-16 12:26]:
[...]
I noticed that, when replying to an e-mail, the attribution uses the
date from (what it seems) the Received: header in stead of the Date:
header. Why?
Do you use the %() format in your attribution?
%(fmt) the local date and time when the message was received.
``fmt'' is expanded by the library function ``strftime'';
a leading bang disables locales
Try %{}.
This doesn't really help -- my question pertains to the date the
message was sent (this is how I interpret the Date:) header.
I suppose I did answer your question, which was why your attribution
uses the timestamp on which the message was received, rather than the
timestamp in the Date: header of the message.
The value in the Date: header is set by the sender (the %{} format) and
it's different from the time at which the message was received (the %()
format). So I asked if you were using the %() format in your
attribution.
Show us what you have in your "attribution". You seem to have modified
the default.
K.
--
#!/usr/bin/perl -w
print(&{sub{eval(qq(q(@_)))}}((join(''=>map{ord=~m(^106)?uc:lc}($[=>
map{chr}(97..122))[map{int}grep{length}split(/(\d\d)/,'10211920011'.
qq(41520080518190907140120211805))]))=~m(\A(\w{4})(\S+)(s\D+)$)),$/)