PREFDATETIME always shows Sun, not current day

Bug #574671 reported by Mike Miller
8
This bug affects 1 person
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.

Revision history for this message
Asheesh Laroia (paulproteus) wrote : Re: [Bug 574671] [NEW] PREFDATETIME always shows Sun, not current day

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.