9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: quanstro@labs.coraid.com (erik quanstrom)
Subject: [9fans] dst shift is shifty
Date: Sun, 27 Mar 2011 17:13:20 -0400	[thread overview]
Message-ID: <3afc85c7fcaa4d1319e62b0e2925ddd8@coraid.com> (raw)
In-Reply-To: <0063c64816641ec9e978b9223da09fcb@gandalf.orthanc.ca>

> Attached is a trivial timezone file dumper I wrote this morning before
> the benefit of coffee.  When I examine the output of runs against
> *_Pacific (the system's and Eric's new Canada_*) it strikes me that
> the time shifts are happening at UTC time rather than the local
> timezone offset.  E.g., here is a sample of
> /adm/timezone/Canada_Pacific:
> 
>                          PST	                         PDT
> Sun Apr 26 02:00:00 GMT 1970	Sun Oct 25 01:00:00 GMT 1970
> Sun Apr 25 02:00:00 GMT 1971	Sun Oct 31 01:00:00 GMT 1971
> Sun Apr 30 02:00:00 GMT 1972	Sun Oct 29 01:00:00 GMT 1972
> Sun Apr 29 02:00:00 GMT 1973	Sun Oct 28 01:00:00 GMT 1973
> Sun Apr 28 02:00:00 GMT 1974	Sun Oct 27 01:00:00 GMT 1974
> 
> Should these not be taking place either seven or eight hours later
> according to GMT?  (I.e.  0200 PST, 0200 PDT) Am I misinterpreting the
> values in the timezone files?

i'll take another look.  i thought i worked this out for the us timezones,
and while confusing, i thought everything was working.

- erik



  reply	other threads:[~2011-03-27 21:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-25 21:46 Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-03-25 22:08 ` erik quanstrom
2011-03-25 22:53   ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-03-26  3:38     ` erik quanstrom
2011-03-26 15:13     ` erik quanstrom
2011-03-27 20:48       ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-03-27 21:13         ` erik quanstrom [this message]
2011-03-27 21:20           ` Lyndon Nerenberg (VE6BBM/VE7TFX)
2011-03-27 22:31             ` Steve Simon

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=3afc85c7fcaa4d1319e62b0e2925ddd8@coraid.com \
    --to=quanstro@labs.coraid.com \
    /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).