Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Time zone problems
@ 1999-03-29  5:00 cecil
  1999-04-01  5:00 ` Christian Krackowizer
  0 siblings, 1 reply; 3+ messages in thread
From: cecil @ 1999-03-29  5:00 UTC (permalink / raw)


On Friday 26th, I changed my MET time zone file from :

Rule M-Eur 1986 max - Mar lastSun 2:00s 1:00 " DST"
Rule M-Eur 1986 max - Sep lastSun 2:00s 0 -

to

Rule M-Eur 1986 max - Mar Sat<=30 14:15w 1:00 " DST"
Rule M-Eur 1986 max - Oct Sat<=30 15:15w 0 -

When I ran the system up, on the 26th March 1999, the system was using 'DST'
!!
It should have waited until Sat 27th. Does anybody know why this does not
work?
I could only get the zonefile to work correctly when I Changed the file to :

Rule M-Eur 1986 max - Mar 27 14:15w 1:00 " DST"
Rule M-Eur 1986 max - Oct 30 15:15w 0 -

Thanks
Nigel





^ permalink raw reply	[flat|nested] 3+ messages in thread
* Time zone problems
@ 1999-04-23  4:00 Nigel Coates
  0 siblings, 0 replies; 3+ messages in thread
From: Nigel Coates @ 1999-04-23  4:00 UTC (permalink / raw)


I am a little puzzeled about my time zone time file.

I have created the rule :

Rule    V-Eur   1986    max     -       Mar     Sat<=30 14:15w  1:00    "
VST"
Rule    V-Eur   1986    max     -       Oct     Sat<=30 15:15w  0       "
VET"
*
blah
*
Zone    VET             1:00    V-Eur           VET%s

I want the date to change on the Last Saturday of March and October.  This
year, the March date is the 27th.
This does not seem to work. zdump -v VET gives :

VET  Fri Mar 27 13:14:59 1998 GMT = Fri Mar 27 14:14:59 1998 VET VET
isdst=0 gmtoff=3600
VET  Fri Mar 27 13:15:00 1998 GMT = Fri Mar 27 15:15:00 1998 VET VST
isdst=1 gmtoff=7200
VET  Fri Oct 23 13:14:59 1998 GMT = Fri Oct 23 15:14:59 1998 VET VST
isdst=1 gmtoff=7200
VET  Fri Oct 23 13:15:00 1998 GMT = Fri Oct 23 14:15:00 1998 VET VET
isdst=0 gmtoff=3600

VET  Fri Mar 26 13:14:59 1999 GMT = Fri Mar 26 14:14:59 1999 VET VET
isdst=0 gmtoff=3600
VET  Fri Mar 26 13:15:00 1999 GMT = Fri Mar 26 15:15:00 1999 VET VST
isdst=1 gmtoff=7200
VET  Sat Oct 30 13:14:59 1999 GMT = Sat Oct 30 15:14:59 1999 VET VST
isdst=1 gmtoff=7200
VET  Sat Oct 30 13:15:00 1999 GMT = Sat Oct 30 14:15:00 1999 VET VET
isdst=0 gmtoff=3600

VET  Fri Mar 24 13:14:59 2000 GMT = Fri Mar 24 14:14:59 2000 VET VET
isdst=0 gmtoff=3600
VET  Fri Mar 24 13:15:00 2000 GMT = Fri Mar 24 15:15:00 2000 VET VST
isdst=1 gmtoff=7200
VET  Fri Oct 27 13:14:59 2000 GMT = Fri Oct 27 15:14:59 2000 VET VST
isdst=1 gmtoff=7200
VET  Fri Oct 27 13:15:00 2000 GMT = Fri Oct 27 14:15:00 2000 VET VET
isdst=0 gmtoff=3600

It switches on the Friday !!!

Does anybody know what I can doing wrong?

I am using OSF3.2C.

Nigel



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-04-23  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-29  5:00 Time zone problems cecil
1999-04-01  5:00 ` Christian Krackowizer
  -- strict thread matches above, loose matches on Subject: below --
1999-04-23  4:00 Nigel Coates

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