From: forsyth@plan9.cs.york.ac.uk forsyth@plan9.cs.york.ac.uk
Subject: date command (Another question ? _o_ )
Date: Sat, 9 Sep 1995 04:46:06 -0400 [thread overview]
Message-ID: <19950909084606.D6wtP8Iwun-aHfTUzZ4VyoL057qRibbE3cQwxlvoTfg@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.
perhaps it's not worth changing the code. i tried:
JST 32400 JST 32400
instead, and date then gave JST instead of defaulting to GMT.
try:
echo 'JST 32400 JST 32400' >/env/timezone
date
if the result looks right to you, update /adm/timezone/Japan and /adm/timezone/local.
(then reboot.)
if it still needs some adjustment, see ctime(2) for a description of the timezone
file format.
next reply other threads:[~1995-09-09 8:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-09-09 8:46 forsyth [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:30 dhog
1995-09-09 11:11 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=19950909084606.D6wtP8Iwun-aHfTUzZ4VyoL057qRibbE3cQwxlvoTfg@z \
--to=forsyth@plan9.cs.york.ac.uk \
/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).