The swich with dailight savings time

Lars Tunkrans lars at iclswe.icl.se
Fri Apr 12 08:12:05 AEST 1991


rvdp at cs.vu.nl (Ronald van der Pol) writes:

>>I have noticed that some of my cron jobs are running an hour later
>>than they are normally run. Example uucp.cleanup is supposed to
>>run at 23:45 but it is running at 00:45 instead. This has occured
>>since the swich to EDT. The system swiched the time on sunday
>>just like we would change the clocks automaticly. Now not all the
>>jobs are running late just some. Have I come across a bug with
>>SCO UNIX SYS V/386 Rel. 3.2.2. Or is there something that I should

>I think so. We run SCO 3.2.2 too :-( and our times are completely wrong:

>- it is 14:15 MET DST at the moment
>- 'date' says it is 13:15 MET
>- localtime(3) says it is 18:15 MET
>- our TZ is 'MET-1MET DST,M3.5.0,M9.5.0'

>What is going on here??

I dont think your TIMEZONE is rigth for SVR3.2  and Paris daylight time.

Here is what I use for 1991 Paris time:

TZ="MET-1DST-2;90/02,272/03"
 
Unfortunatley we have a case of pretty wierd thinking here:
Negative TIMEZONE values gives times east of Greenwich ( London ) while
positive TIMEZONE values gives times west of Greenwich.  And not the other
way around which would be more logical, at least to me.

So since Paris daylight time is 2 hours ahead of GMT, it needs to be defined 
with DST-2 otherwise UNIX dont know which time to shift to. There was no
value assosiated with DST in your example above.

lars.
-- 
Lars Tunkrans  Phone +46 (0)76096368. |                 I C L 
      DRS Systems Support.            |    
UUCP: uunet!mcsun!sunic!iclswe!lars   |   The leading UNIX System V Release 4.0
DOMAIN Address : lars at iclswe.icl.se   |              integrator.



More information about the Comp.unix.sysv386 mailing list