From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 9 Sep 1995 14:44:05 -0400 From: Kenji Okamoto okamoto@earth.cias.osakafu-u.ac.jp Subject: date command (Another question ? _o_ ) Topicbox-Message-UUID: 226a0084-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19950909184405.ACDq5vOmECm9J4LvNk0aAboVWCzeY_wVKYEQksF_0dg@z> > /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. > This time you don't get turget. :-) After I applied above, and did the date command, I got a future time like this: Sun Sep 10 03:36:55 JST 1995. I dispatched the date command at Sat Sep 9 18:36:55. It's 9 hours ahead now. Kenji