Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: vinnie on October 27, 2011, 08:40:18 AM

Title: requested help for timezone (resolved)
Post by: vinnie on October 27, 2011, 08:40:18 AM
A.S. So first of all, my geographic location is Italy

I participate to a mailinglist where they told me that I have the wrong time, my bios is set to UTC (checked yesterday).
My boot code was tz=GMT+1 and my  time was right but not for mailinglist
Now i use the example in this page (http://wiki.tinycorelinux.net/wiki:time_zone) (tz=CET-1CEST,M3.5.0,M10.5.0/3) but my clock go foward by 3 hours respecto to italian exact time.

I understand little of time zones , what did I do wrong?

Title: Re: requested help for timezone
Post by: curaga on October 27, 2011, 09:12:36 AM
Did you use the example timezone directly, or extract the Italian timezone from the tzdata extension? Europe/Rome would look right there.
Title: Re: requested help for timezone
Post by: Rich on October 27, 2011, 09:24:06 AM
@curaga: He copied the example.

@vinnie: Go to  http://forum.tinycorelinux.net/index.php?topic=5017.msg27012#msg27012 (http://forum.tinycorelinux.net/index.php?topic=5017.msg27012#msg27012)
              The last paragraph tells you how to find the correct codes to use.

Title: Re: requested help for timezone
Post by: vinnie on October 27, 2011, 08:27:36 PM
Quote
Code: [Select]
tc@box:~$ tce-fetch.sh tzdata.tcz
tc@box:~$ mkdir ext
tc@box:~$ sudo mount tzdata.tcz ext -t squashfs -o loop,ro,bs=4096
tc@box:~$ find ext/usr/local/share/zoneinfo -type f -name London | xargs tail -1
GMT0BST,M3.5.0/1,M10.5.0
tc@box:~$ umount ext
tc@box:~$ rm -rf ext tzdata.tcz

I use this command to extrat timezone line of Rome, but it is same of example in wiki (france and italy have the same timezone):
however:
Code: [Select]
tc@box:~/tz$ find squashfs-root/usr/local/share/zoneinfo/ -type f -name Rome | xargs tail -1
CET-1CEST,M3.5.0,M10.5.0/3
tc@box:~/tz$

My clock is still out of phase by 3 hours :/

Edit: i follow this utc http://www.ipses.com/prod/timing/UTC-GPS.php?language=it (http://www.ipses.com/prod/timing/UTC-GPS.php?language=it) and led me into error, the real utc valor is this: http://time.is/UTC (http://time.is/UTC) ; now time is correct, thanks!