9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dhog@plan9.cs.su.oz.au dhog@plan9.cs.su.oz.au
Subject: date command (Another question ? _o_ )
Date: Sat,  9 Sep 1995 07:30:00 -0400	[thread overview]
Message-ID: <19950909113000.WORy5RbVckBtjTnZ7OB-vYyfSWlWJKw3U3nuFGTQqUQ@z> (raw)

>/adm/timezone/Japan is simpler than most:
>% cat /adm/timezone/Japan
>JST 32400
>
>it looks as though ctime fails to realise that a single time zone & GMT offset
>not followed by a list of time changes probably means that the location hasn't got
>the notion of `daylight savings' or `summer time'.
>instead it defaults to GMT, obviously aware of the splendid weather here this summer.

This would be my fault -- I supplied a number of the timezone files, using a
program which converted the Berkeley zoneinfo files into Plan 9 format.
Evidently I didn't read ctime(2) carefully enough :-(

Looks like the following files in /adm/timezone are affected:

Australia_North
Canada_East-Saskatchewan
HST
Hongkong
Iceland
Japan
Mexico_BajaSur
Mexico_General
NZ_CHAT
ROC
Singapore
US_Arizona
US_East-Indiana
US_Hawaii


P.S.  A better way to do this in the future would be to modify the zoneinfo
compiler (zic) to produce Plan 9 format directly.  Then changes to timezones
could be incorporated without fuss.  There's an ftp site which holds updated
sets of rules in the form understood by zic.






             reply	other threads:[~1995-09-09 11:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-09-09 11:30 dhog [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-09-11 10:21 Kenji
1995-09-09 18:44 Kenji
1995-09-09 15:21 Kenji
1995-09-09 11:11 forsyth
1995-09-09  8:46 forsyth
1995-09-08 11:40 Kenji
1995-09-08  7:37 dhog

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=19950909113000.WORy5RbVckBtjTnZ7OB-vYyfSWlWJKw3U3nuFGTQqUQ@z \
    --to=dhog@plan9.cs.su.oz.au \
    /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).