PREFDATETIME always shows Sun, not current day
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alpine (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: alpine
In the help section for "Index Format" under Setup Configuration, I see this option:
PREFDATETIME
This token represents the date and time at which the message was
sent, according to the "Date" header field. It is the preferred
date and time representation for the current locale. Internally it
uses the %c version of the time from the strftime routine.
On my system (Ubuntu 9.10), I see this:
$ date +%c
Mon 03 May 2010 10:14:15 AM CDT
When I use PREFDATETIME in the Index Format, it does have that format, but every date begins with "Sun" (Sunday) instead of the correct day of the week. This was at least the case when I tested it on a Monday morning in my time zone, so the day displayed might depend on the current date. The really pathological thing is that all dates in the index say "Sun" even though they are from many different days, dates, years, etc.
On Mon, 3 May 2010, Mike Miller wrote:
> Public bug reported:
>
> Binary package hint: alpine
>
> In the help section for "Index Format" under Setup Configuration, I see
> this option:
>
> PREFDATETIME
> This token represents the date and time at which the message was
> sent, according to the "Date" header field. It is the preferred
> date and time representation for the current locale. Internally it
> uses the %c version of the time from the strftime routine.
>
> On my system (Ubuntu 9.10), I see this:
>
> $ date +%c
> Mon 03 May 2010 10:14:15 AM CDT
>
> When I use PREFDATETIME in the Index Format, it does have that format,
> but every date begins with "Sun" (Sunday) instead of the correct day of
> the week. This was at least the case when I tested it on a Monday
> morning in my time zone, so the day displayed might depend on the
> current date. The really pathological thing is that all dates in the
> index say "Sun" even though they are from many different days, dates,
> years, etc.
Wow, that's one sad bug. Thanks for the report.