From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Daylight savings time
Date: Sat, 22 Mar 2008 14:06:33 -0400 [thread overview]
Message-ID: <5cceefb562b4b4e36a2c223d3f67f42a@quanstro.net> (raw)
In-Reply-To: <2EE1F3F9-4857-45AB-A0F2-28D4CF002D8F@mac.com>
> 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
next prev parent reply other threads:[~2008-03-22 18:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-22 17:07 Pietro Gagliardi
2008-03-22 18:06 ` erik quanstrom [this message]
2008-03-22 18:42 ` Pietro Gagliardi
2008-03-22 18:07 ` a
2008-03-23 18:29 ` Dave Eckhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5cceefb562b4b4e36a2c223d3f67f42a@quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).