[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#556884: locale/C-time.c erroneously lists the first day of the week as Monday



On Wed, Nov 18, 2009 at 10:22:55AM -0800, Don Armstrong wrote:
> On Wed, 18 Nov 2009, Aurelien Jarno wrote:
> > week 7;19971130;4 / first_weekday 7 and week 7;19971201;4 /
> > first_weekday 1 are both meaning that the week starts on sunday.
> 
> That's incorrect. 19971130 means the first day of the week is a
> Sunday, 19971201 means the first day of the week is a Monday. The
> first_weekday is then indexed according to this value, so if it was 1
> with 19971130, then the first day displayed on a calendar is Sunday;
> if it was 2, it'd be Monday. If it was 1 with 19971201, then the first
> day displayed on a calendar would be Monday, if it was 7, then it'd be
> saturday.

I was wrong in was I wrote and mixed the two.

The old version is actually week 7;19971201;4 first_weekday 7. It means
the first day displayed on the calendar is a sunday.

The new version is week 7;19971130;4 first_week_day 1. It mean the first
day displayed on the calendar is a sunday.

Both version should display exactly the same value.

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: