Bug#556884: locale/C-time.c erroneously lists the first day of the week as Monday
On Wed, 18 Nov 2009, Aurelien Jarno wrote:
> 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
> > sunday.
[I fixed my above quote which was wrong.]
> I was wrong in was I wrote and mixed the two.
No worries; it was confusing to me too.
> The old version is actually week 7;19971201;4 first_weekday 7. It
> means the first day displayed on the calendar is a sunday.
Right, but it means that the first day of the week is a monday, which
is wrong. [Or at least, a change; what's right and wrong for the C
locale is arbitrary.]
> The new version is week 7;19971130;4 first_week_day 1. It mean the
> first day displayed on the calendar is a sunday.
Right, and it *also* means that the first day of the week is a sunday.
Anyway, do you happen to have an approximate schedule for an upload
fixing this? [No pressure, I'm just trying to figure out if I should
bother to make an upload to fix the FTBFS in
libhtml-calendarmonth-perl.]
Don Armstrong
--
Judge if you want.
We are all going to die.
I intend to deserve it.
-- a softer world #421
http://www.asofterworld.com/index.php?id=421
http://www.donarmstrong.com http://rzlab.ucr.edu
Reply to: