Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:time_zone [2011/06/06 04:48] – created Guy | wiki:time_zone [2012/12/01 05:31] (current) – Last revision reverted. (Would lead to different result) tinypoodle | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Time Zone ====== | ====== Time Zone ====== | ||
- | ===== Time Zone ===== | ||
- | ==== Time Zone ==== | ||
- | I'd just like to expand a bit on the use of the ' | + | I'd just like to expand a bit on the use of the ' |
- | (1) In the case of no daylight saving the boot code simply needs the name of the timezone and the offset to UTC. Example India: | + | ==== Without Daylight Saving ==== |
+ | |||
+ | In the case of no daylight saving the boot code simply needs the name of the timezone and the offset to UTC. Example India: | ||
tz=IST-5: | tz=IST-5: | ||
- | (2) Things get a bit more varied with daylight saving. The TZ definition now also adds the name of the timezone during daylight saving and the details when daylight saving starts and ends. Example France: | + | ==== With Daylight Saving ==== |
- | tz=CET-1CEST, | + | |
- | | + | Things get a bit more varied with daylight saving. The TZ definition now also adds the name of the timezone during daylight saving and the details when daylight saving starts and ends. Example France: |
- | -1 offset during standard time (i.e. 1h " | + | |
- | CEST timezone name during daylight saving (i.e. " | + | |
- | 3 start of daylight saving: the month (i.e. March) | + | |
- | 5 the week (i.e. last) | + | -1 |
- | 0 the day (i.e. Sunday) | + | CEST |
- | | + | 3 start of daylight saving: the month (i.e. March) |
- | 5 the week (i.e. last) | + | 5 the week (i.e. last) |
- | 0 the day (i.e. Sunday) | + | 0 the day (i.e. Sunday) |
- | 3 the time (i.e. 03:00:00) | + | |
+ | 5 the week (i.e. last) | ||
+ | 0 the day (i.e. Sunday) | ||
+ | 3 the time (i.e. 03:00:00) | ||
+ | |||
Please note: Since no time is specified for the start of CEST the default value of 02:00:00 will be used. | Please note: Since no time is specified for the start of CEST the default value of 02:00:00 will be used. | ||
Line 25: | Line 29: | ||
If your are still not keen to create your very own TZ string you can cheat by taking a peek in the (binary) zoneinfo files of the tzdata.tcz extension. Please note that in the following steps (using London as an example) the extension gets merely downloaded (to the home directory), extracted and right away removed again. So nothing remains afterwards. Let's face it, you probably need to find out your local TZ definition only a few times in your life (e.g. when you move or your daylight saving timeframe changes): | If your are still not keen to create your very own TZ string you can cheat by taking a peek in the (binary) zoneinfo files of the tzdata.tcz extension. Please note that in the following steps (using London as an example) the extension gets merely downloaded (to the home directory), extracted and right away removed again. So nothing remains afterwards. Let's face it, you probably need to find out your local TZ definition only a few times in your life (e.g. when you move or your daylight saving timeframe changes): | ||
- | Code: | + | |
- | tc@box:~$ tce-fetch.sh tzdata.tcz | + | < |
tc@box:~$ mkdir ext | tc@box:~$ mkdir ext | ||
tc@box:~$ sudo mount tzdata.tcz ext -t squashfs -o loop, | tc@box:~$ sudo mount tzdata.tcz ext -t squashfs -o loop, | ||
Line 32: | Line 36: | ||
GMT0BST, | GMT0BST, | ||
tc@box:~$ umount ext | tc@box:~$ umount ext | ||
- | tc@box:~$ rm -rf ext tzdata.tcz | + | tc@box:~$ rm -rf ext tzdata.tcz</ |
If you are not sure about the city to specify in the ' | If you are not sure about the city to specify in the ' | ||
From: http:// | From: http:// |