From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 6 Oct 1997 13:08:53 +0900 From: Kazumi Iwane iwane@lit.rd.nttdata.co.jp Subject: [9fans] /adm/timezone files Topicbox-Message-UUID: 6830a4ce-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19971006040853.0NJGQVqI4Vz2Z9mJLLUYO2Vtq2NTfqvST2nMtduxUTg@z> According to ctime(2) and /sys/src/libc/9sys/ctime.c, files under /adm/timezone should have at least 4 fields followed by a newline, just like inferno's counterparts (/locale/*). As distributed, files with no summer time specifications, such as /adm/timezone/Japan, have only 2 fields, so the parsing fails and the timezone defaults to GMT. The fix is as follows. term% diff /n/cd/adm/timezone/Japan /adm/timezone/Japan 1c1 < JST 32400 --- > JST 32400 JST 32400 -- iwane@lit.rd.nttdata.co.jp "This is where the future lies beneath the burning sulphur skies." -- C.Hynde, 'Downtown (Akron)'