> Hello. How do you configure Plan 9 to support DST? I noticed that my  
> clock is wrong just now. Thanks.

dst is supported as long as your timezone is set correctly.
        echo $timezone|sed 1q
should give you the skinny on yout timezone.  the format is
        stdcode stdoffsetsec dstcode dstoffsetsec
for example, for athens. ga or any other place on the us east
cost, it should be
        EST -18000 EST EDT -14400
which says that during standard time, the offset from GMT is
-18000 seconds, or -5 hrs.  the offset during daylight savings time
is -4 hrs.  the rest of the file is pairs of offsets bracketing the
start and end of dst periods.  thus the only constraint on dst
periods is the offset from gmt can't change from period to period.

if your timezone is not correct, make sure the timezone files are
synced with sources and
        cp /adm/timezone/«yourtimezone» /adm/timezone/local
        ifs=() timezone=`{cat /adm/timezone/local}

- erik


Reply via email to