9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Daylight savings time
Date: Sat, 22 Mar 2008 14:42:02 -0400	[thread overview]
Message-ID: <B0D888B5-0BC1-4D9A-9F6D-5E70F68FA192@mac.com> (raw)
In-Reply-To: <5cceefb562b4b4e36a2c223d3f67f42a@quanstro.net>

Thanks to both of you. I've been setting up virtual machines so many  
times that I forget these subtle things.

On Mar 22, 2008, at 2:06 PM, erik quanstrom wrote:

>> 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	other threads:[~2008-03-22 18:42 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
2008-03-22 18:42   ` Pietro Gagliardi [this message]
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=B0D888B5-0BC1-4D9A-9F6D-5E70F68FA192@mac.com \
    --to=pietro10@mac.com \
    --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).