Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: mjm214@bellsouth.net (Martin Moore)
Subject: Re: Timezone adjustment (tzfile format question)
Date: 26 Mar 2002 09:47:20 -0800	[thread overview]
Message-ID: <f5c064be.0203260947.580feabd@posting.google.com> (raw)
In-Reply-To: 6445524b.0203251238.73ee489@posting.google.com

dub@latnet.lv (Dub) wrote in message news:<6445524b.0203251238.73ee489@posting.google.com>...
> Hi,
> 
> I'm not sure how to set the exact moment of enabling/disabling
> daylight settings.
> 
> man page for tzfile(4) tells that component 'time' of environment
> variable TZ
> 'Describes the time when, __in current time__, the change to or return
> from      alternative time occurs'.
> 
> Let's take a definition from time zone source file
> /etc/zoneinfo/sources/europe
> 
> Rule    E-Eur   1981    max     -       Mar     lastSun  3:00s  1:00  
>  " DST"
> Does it mean that local time at 2:59:59 EET will jump to 4:00:00 EET
> DST?
> 
> Rule    E-Eur   1996    max     -       Oct     lastSun  3:00s  0     
>  -
> Does it mean that local time at 3:59:59 EET DST will jump to 3:00:00
> EET?
> 
> 
> Many thanks in advance for your comments! 
> 
> BR, 
> Dub

You are correct.  The "s" suffix in "3:00s" means use standard time, i.e.,
change at 0300 local standard time. If you use the "w" suffix, or no
suffix, it means use "wall clock" time, i.e., current local time.

The man page for zic(8) is a little more informative than the one for
tzfile(4).

Martin


      parent reply	other threads:[~2002-03-26 17:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-25 20:38 Timezone adjustment (tzfile format question) Dub
2002-03-26 16:34 ` Johan Danielsson
2002-03-26 17:47 ` Martin Moore [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox