On Mon, Jun 23, 2008 at 10:44 PM, Chris Louden <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 23, 2008 at 10:42 PM, James G. Sack (jim) <[EMAIL PROTECTED]> 
> wrote:
>> Chris Louden wrote:
>>> On Mon, Jun 23, 2008 at 9:44 PM, Carl Lowenstein
>>> <[EMAIL PROTECTED]> wrote:
>>>> On Mon, Jun 23, 2008 at 8:40 PM, Carl Lowenstein
>>>> <[EMAIL PROTECTED]> wrote:
>>>>> I was just checking the calendar in the upper-right corner of my
>>>>> CentOS 5.1 system to look at the July 4 holiday.  It looked peculiar.
>>>>> Then I noticed that the week is laid out with Saturday as the
>>>>> left-most column, progressing to Friday on the right.
>>>>>
>>>>> Just checked the other readily available computer, Fedora 9.  Week
>>>>> runs from Sunday on the left to Saturday on the right.
>>>>>
>>>>> Wonder who changed this.  I don't offhand find any way to reconfigure
>>>>> this display.
>>>> An hour later, I think I might have a clue.  After Google search
>>>> linux+gnome+clock I found some reference to changing LC_TIME to make
>>>
>>> Try gnome+calendar+first+day to get the answer
>>>
>>
>> IIRC, *nix date utilities enumerates day-of-week as 0=sun through 6=sat
>> (and 7=sun, for good measure -- is that right?).
>>
>> Anyway, it looks like locale enumerates days from 1=sun.
>>
>> Regards,
>> ..jim (should primidi be 0 or 1?)
>>
>
> Monday is 2, if Sunday is 1, the rest should be obvious.
>

The way it used to be:, quoting $(man ctime)
  . . .
       tm_wday
              The number of days since Sunday, in the range 0 to 6.
  . . .
However the Gnome people seem to have devised their own calendar in
which Monday is day 2.

At some early age my younger brother enumerated the days of the week
as  Onesday Twosday Threesday.  But he didn't go any further.

More to the point, there is an excellent explanation of this calendar
phenomenon at <http://gentoo-wiki.com/HOWTO_localedef>.  I think it
even addresses the question of whether "first day of the week" should
be a global setting for all users, or configurable individually.  But
I haven't tried this yet.

    carl
-- 
 carl lowenstein marine physical lab u.c. san diego
 [EMAIL PROTECTED]


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to