From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5cceefb562b4b4e36a2c223d3f67f42a@quanstro.net> To: 9fans@9fans.net From: erik quanstrom Date: Sat, 22 Mar 2008 14:06:33 -0400 In-Reply-To: <2EE1F3F9-4857-45AB-A0F2-28D4CF002D8F@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: Re: [9fans] Daylight savings time Topicbox-Message-UUID: 7e228ff8-ead3-11e9-9d60-3106f5b1d025 > 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