Thanks for this great bug report! * Rhonda D'Vine [2015-07-20 14:10 +0200]: > I noticed today that pal seems to calculate the weeknumber always US > centric (or at least not locale aware). If one has put show_weeknum > into ~/.pal/pal.conf, regardless of LC_TIME setting pal always seems to > calculate as if it's set to C.
A few notes: * A Google search revealed DIN 1355 / ISO 8601 as possibly relevant, if one wants to verify that ncal -w is indeed correct. * This bug presumably isn't triggered for all years (depending on the first day of the year). * LC_TIME=de_DE* seems to behave as LC_TIME=C in this case. * pal(1) does not mention show_weeknum. * An additional relevant pal rc setting is week_start_monday. * This could be useful for testing: LC_TIME=C TERM=dumb datefudge "1980-01-01 00:00" ... * Since ncal hardly implemented proper LC_TIME handling itself, this might be related to a libc function it uses - checking if setlocale() is used correctly looks like a good idea. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org