Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Partially OT] daylight savings



Thanks Koji,

The time and date link looks like a great resource for the wierd
countries. After reading Stephens mail also, I've a good idea how
to manage them on the linux side. Here is a short overview.

Mostly linux handles it automatically, if your machine is set to
the correct tz. All the information and rules the machine needs 
to handle zones and DST correctly is found under a zoneinfo directory,
usually /usr/local/etc/zoneinfo but RH sticks it under /usr/share/zoneinfo.

A useful command is to dump any zones DSTs behaviour with the
zdump command. The output for Europe/Dublin is for 2001 is...

Europe/Dublin  Sun Mar 25 00:59:59 2001 UTC = Sun Mar 25 00:59:59 2001 GMT isdst=0 gmtoff=0
Europe/Dublin  Sun Mar 25 01:00:00 2001 UTC = Sun Mar 25 02:00:00 2001 IST isdst=1 gmtoff=3600
Europe/Dublin  Sun Oct 28 00:59:59 2001 UTC = Sun Oct 28 01:59:59 2001 IST isdst=1 gmtoff=3600
Europe/Dublin  Sun Oct 28 01:00:00 2001 UTC = Sun Oct 28 01:00:00 2001 GMT isdst=0 gmtoff=0

If anything were to change, ie I read that France likes to change the
rules every year, you can always change the Ruleset, that the zoneinfo
directory was compiled from. This is done by using the zic command
and altering the zone source file. I couldn't find the master file on
my RH6.1 machine but I guess you can download a new updated one from
somewhere every year so you don't have to change any rules at all???
Anyone confirm this or the location?

Sorry all hope it was a little bit interesting. I've lived in Japan for
most of my unix life and so have not had to think about DST before,
but I was just curious yesterday and had to find out :)

Tom.

On Tue, Nov 07, 2000 at 05:55:52PM -0600, Koji Hayakawa wrote:
> You know, I forgot to paste in the actual URL.  Sorry.
> 
> http://www.timeanddate.com/time/aboutdst.html
> 
> -----Original Message-----
> From: Koji Hayakawa [mailto:sylf00@example.com]
> Sent: Tuesday, November 07, 2000 4:51 PM
> To: tlug@example.com
> Subject: RE: [Partially OT] daylight savings
> 
> 
> This is one resource I've used before about DST.
> 
> I can't answer the second question though....
> 
> -----Original Message-----
> From: Thomas O'Dowd [mailto:tom@example.com]
> Sent: Tuesday, November 07, 2000 4:27 AM
> To: tlug group
> Subject: [Partially OT] daylight savings
> 
> 
> Hi all,
> 
> Two related questions:
> 
> Anyone know of a maillist or resource that will send you a
> list of Daylight savings times and when they start/end in
> various countries? I know most countries have rules like
> first and last Sundays in various months, but I also know 
> that some countries like to surprise everyone every year.
> 
> How does linux handle this in those difficult countries?
> 
> Tom.
> -- 
> Thomas O'Dowd                   Have you had your noop today?
> tom@example.com                  http://www.nooper.com
> 
> -----------------------------------------------------------------------
> Next Technical Meeting: November 11 (Sat) 13:30  Place: LinuxProbe Hall
> Next Nomikai (and Bonenkai!): December 15 (Fri)
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.198 / Virus Database: 95 - Release Date: 10/4/00
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.198 / Virus Database: 95 - Release Date: 10/4/00
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @example.com address at http://mail.yahoo.com
> 
> -----------------------------------------------------------------------
> Next Technical Meeting: November 11 (Sat) 13:30  Place: LinuxProbe Hall
> Next Nomikai (and Bonenkai!): December 15 (Fri)
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.198 / Virus Database: 95 - Release Date: 10/4/00
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.198 / Virus Database: 95 - Release Date: 10/4/00
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @example.com address at http://mail.yahoo.com
> 
> -----------------------------------------------------------------------
> Next Technical Meeting: November 11 (Sat) 13:30  Place: LinuxProbe Hall
> Next Nomikai (and Bonenkai!): December 15 (Fri)
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
> 

-- 
Thomas O'Dowd                   Have you had your noop today?
tom@example.com                  http://www.nooper.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links