WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: requested help for timezone (resolved)  (Read 3102 times)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
requested help for timezone (resolved)
« 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 (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?

« Last Edit: October 28, 2011, 01:28:42 PM by vinnie »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: requested help for timezone
« Reply #1 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.
« Last Edit: October 27, 2011, 09:14:12 AM by curaga »
The only barriers that can stop you are the ones you create yourself.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11624
Re: requested help for timezone
« Reply #2 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
              The last paragraph tells you how to find the correct codes to use.


Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: requested help for timezone
« Reply #3 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 and led me into error, the real utc valor is this: http://time.is/UTC ; now time is correct, thanks!
« Last Edit: October 27, 2011, 08:58:50 PM by vinnie »