[arch-general] Funny locale settings, Gnome versus command line

Magnus Therning magnus at therning.org
Wed Jun 3 04:41:56 EDT 2009


On Wed, Jun 3, 2009 at 9:30 AM, Magnus Therning <magnus at therning.org> wrote:
> On Wed, Jun 3, 2009 at 9:27 AM, vlad <vla at uni-bonn.de> wrote:
>> hello,
>>
>> On Wed, Jun 03, 2009 at 09:21:27AM +0100, Magnus Therning wrote:
>>> How do I get the Gnome clock to start the week on Monday?
>> no idea.
>>>
>>> How do I get `cal` to start the week on Monday?
>> cal -m
>
> Are you saying that cal doesn't honour the locale settings and that
> the only way is to use a command line argument?

Reading the code for cal it looks like it _should_ consider the locale [1].

/M

[1]: http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=blob;f=misc-utils/cal.c;h=a8534b8ca9e890ea9cc048fb987b0e0503ed045d;hb=HEAD#l289

-- 
Magnus Therning                        (OpenPGP: 0xAB4DFBA4)
magnus@therning.org          Jabber: magnus@therning.org
http://therning.org/magnus         identi.ca|twitter: magthe


More information about the arch-general mailing list