Date: Sat, 26 Aug 2000 12:24:15 +0930 From: Greg Lehey <grog@lemis.com> To: Alan Clegg <abc@bsdi.com> Cc: Brendan Kosowski <brendan@bmk.com.au>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Setting a non-standard timezone. Message-ID: <20000826122415.I52219@wantadilla.lemis.com> In-Reply-To: <20000826024138.B37521@diskfarm.firehouse.net>; from abc@bsdi.com on Sat, Aug 26, 2000 at 02:41:38AM %2B0000 References: <Pine.BSF.3.96.1000826132000.6887A-100000@garfield.bmk.com.au> <20000826024138.B37521@diskfarm.firehouse.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 26 August 2000 at 2:41:38 +0000, Alan Clegg wrote: > Unless the network is lying to me again, Brendan Kosowski said: > >> I know how to do this at the user level ( by setting the TZ variable in >> the .profile to a posix compliant format, eg. XYZ-11 ) but I do not know >> how to do this at the system default level. > > Look in /usr/share/zoneinfo, pick the right one and either copy or link > it to /etc/localtime > > Now, if you have a non-standard timezone (one that is not represented in > any of the /usr/share/zoneinfo), I can't help... There are a couple of isolated cases of this. The South-East of Western Australia, between Caiguna and the South-Australian border, is 8 hours and 45 minutes ahead of UTC, but no time zone file exists for it. You can make your own like this: 1. Add the following information to /usr/src/share/zoneinfo/australasia: --- australasia 2000/03/29 14:01:42 1.15 +++ australasia 2000/08/13 04:42:51 @@ -34,6 +34,10 @@ 8:00 - WST 1991 Nov 17 2:00s 8:00 1:00 WST 1992 Mar Sun>=1 2:00s 8:00 - WST + +Zone Australia/Nullarbor 7:43:24 - LMT 1895 Dec + 8:45 - NST + # Queensland # # From Alex Livingston <alex@agsm.unsw.edu.au> (1996-11-01): 2. In the same directory, do a 'make install'. 3. Do # cp /usr/share/zoneinfo/Australia/Nullarbor /etc/localtime Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000826122415.I52219>