Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: ali on August 31, 2011, 11:56:23 PM

Title: [SOLVED] Timezone problems
Post by: ali on August 31, 2011, 11:56:23 PM
i can't get the timezone right
first i tried the tz bootcode, setting it to GMT+2
that didn't work

Code: [Select]
ali@mini:~$ sudo ntpdate pool.ntp.org
 1 Sep 01:48:57 ntpdate[7234]: step time server 83.166.201.100 offset -10797.441861 sec
ali@mini:~$ echo $TZ
GMT+2
ali@mini:~$ date #should be 06:49
Thu Sep  1 01:49:28 GMT 2011

then i set my tz to eet
Code: [Select]
ali@mini:~$ echo $TZ
EET
ali@mini:~$ sudo ntpdate pool.ntp.org
 1 Sep 03:52:18 ntpdate[7303]: adjust time server 89.18.20.11 offset 0.470471 sec
ali@mini:~$ date #should be 06:52
Thu Sep  1 03:52:33 EET 2011

and it still doesn't work
can anyone tell me what i'm doing wrong?
Title: Re: Timezone problems
Post by: Rich on September 01, 2011, 12:17:47 AM
Hi ali
These two threads might be worth reading
http://forum.tinycorelinux.net/index.php/topic,5663.msg30048.html#msg30048
http://forum.tinycorelinux.net/index.php/topic,5017.msg26985.html#msg26985
Title: Re: Timezone problems
Post by: ali on September 03, 2011, 01:33:29 AM
that worked, i don't know why i haven't seen that before