Re: cal: First day of the week

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

 



Pádraig Brady, le Sun 01 Mar 2009 23:38:08 +0000, a écrit :
> > Also worth noting is that if/when someone chooses to uncomment code in
> > cal.c, the day will be off by one, because in the locale data Sunday=1,
> > Monday=2, while cal.c assumes the C-style Sunday=0, Monday=1.
> 
> If you could send a patch that was tested it would help in making this change.

my 2c:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472355
[cal] should use locale's _NL_TIME_WEEK_1STDAY to know the first day of a week
contains a patch
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=39;filename=patch;att=1;bug=472355
which I'd gladly see you get inspired from.

Samuel
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux