[gobolinux-users] timezone

Isaac Dupree isaacdupree at charter.net
Sun Oct 21 03:45:48 NZDT 2007


Jonas Karlsson wrote:
> On Sat, 20 Oct 2007 15:06:56 +0200, Isaac Dupree <isaacdupree at charter.net> wrote:
> 
>> I changed /S/S/timezone and /S/S/localtime a while ago, and they still
>> seem to be how they should be, but `date` and friends give me the time
>> in the wrong timezone:
>>
>> ]cat /etc/timezone; echo
>> America/New_York
>> ]readlink /etc/localtime
>> /System/Links/Shared/zoneinfo/America/New_York
>> ]readlink -f /etc/localtime
>> /Programs/Glibc/2.5-Compile-old/Shared/zoneinfo/America/New_York
>> ]date
>> Sat Oct 20 10:03:03 BRT 2007
>>
>>
>> What do I need to do so that my timezone is America/New_York? (which is
>> currently "EDT", Eastern Daylight Time, but "EST" Eastern Standard Time
>> part of the year)
>>
> It could be that CoreUtils is configured to use
> /Programs/CoreUtils/Settings as configuration directory. Could you see if
> that there's a symlink in there and, if so, remove it. Try to create the
> above links in that directory and see if that helps.
> 

no, but it was in Glibc settings.  Maybe that's the one I should change 
(even though KDE seems to do it wrong and just changes /etc/localtime to 
a non-symlink file)

]ls -a /Programs/CoreUtils/Settings
.  ..  dircolors.conf

]ls -l /Programs/Glibc/Settings/localtime
lrwxrwxrwx 1 gobo gobo 56 2007-06-24 12:11 
/Programs/Glibc/Settings/localtime -> 
/Programs/Glibc/Current/share/zoneinfo/America/Sao_Paulo

so
]cp -P /etc/localtime /Programs/Glibc/Settings/localtime

and my problem is fixed! okay... I think the way to change timezone on 
Gobo is simply modifying /Programs/Glibc/Settings/localtime, (as long as 
that localtime file is symlinked properly to /S/Settings)

Isaac


More information about the gobolinux-users mailing list