Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Mar. 02 2008,09:42 |
|
Quote | Afaik, am/pm does not have 00: and only 12: so something could be wrong...? |
- it actually said a couple of minutes later - 01:01pm - so the mistake was made by me subtracting a couple of minutes to "avoid confusion".
Quote | isn't localtime supposed to be in /etc by the way? |
- well:
/usr/share/zoneinfo/localtime -> /etc/localtime and /etc/timezone -> /KNOPPIX/etc/timezone -> /opt/timezone
...so I wasn't sure which one to use. I guess /opt/timezone uses the bootcode? Which one should I add to my backup (assuming I ever get this to work)?
Quote | DSL uses zoneinfo files. You can find a complete list here/
DSL also has zump and zic needed to process/setup zoneinfo files.
Download tzdata2007k.tar.gz to a working directory, unpack, and then use zic to convert to a format Linux/DSL uses.
You can "grep -i" to search for your location in the various regions (after you have unpacked them). Once you use zic they will no longer be readable. |
- I thought GMT+4 was a zoneinfo file, it is included in the latest tzdata2007k.tar.gz file from your link (thanks BTW). Also from tzdata2007k.tar.gz:Quote | # We use POSIX-style signs in the Zone names and the output abbreviations, # even though this is the opposite of what many people expect. # POSIX has positive signs west of Greenwich, but many people expect # positive signs east of Greenwich. For example, TZ='Etc/GMT+4' uses # the abbreviation "GMT+4" and corresponds to 4 hours behind UTC # (i.e. west of Greenwich) even though many people would expect it to # mean 4 hours ahead of UTC (i.e. east of Greenwich). |
- which explains some of my confusion...
I tried zic and zdump, but didn't get the hang of the syntax yet: Code Sample | $ sudo zic -l asia/placename |
...doesn't seem to write the localtime file for "placename" and using only asia gives the whole nine yards in localtime and still in a readable format??
|