From owner-freebsd-questions Fri Aug 25 20:23:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id 179A637B422 for ; Fri, 25 Aug 2000 20:23:41 -0700 (PDT) Received: (from grog@localhost) by wantadilla.lemis.com (8.9.3/8.9.3) id MAA71292; Sat, 26 Aug 2000 12:53:35 +0930 (CST) (envelope-from grog) Date: Sat, 26 Aug 2000 12:53:35 +0930 From: Greg Lehey To: Brendan Kosowski Cc: FreeBSD Questions Subject: Re: Setting a non-standard timezone. Message-ID: <20000826125335.K52219@wantadilla.lemis.com> References: <20000826121702.H52219@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from brendan@bmk.com.au on Sat, Aug 26, 2000 at 02:19:15PM +1100 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 26 August 2000 at 14:19:15 +1100, Brendan Kosowski wrote: > On Sat, 26 Aug 2000, Greg Lehey wrote: > >> On Saturday, 26 August 2000 at 13:26:25 +1100, Brendan Kosowski wrote: >>> >>> How do I set the systems default timezone to a non-standard timezone ? >>> >>> Eg. if I live in zone XYZ and we are 11 hours ahead of GMT. >> >> *and* if the system doesn't know about it, *and* if you don't have >> daylight savings time... >> >> ... then you do: >> >> # cp /usr/share/zoneinfo/Etc/GMT+11 /etc/timezone >> >> It's almost never necessary to do this, though, and it's more likely >> that you'll get things wrong. For example, your message now comes >> from bmkind.lnk.telstra.net, which is connected to >> Ethernet0.lon12.Melbourne.telstra.net. The time zone in Melbourne is >> Australia/Melbourne, and the time in Melbourne is currently 10 hours >> ahead of UTC. It won't change to 11 hours ahead until tomorrow >> morning. I suppose it's possible that you're on your own island >> somewhere out in the Tasman and connecting via PPP to Telstra in >> Melbourne, but I suspect it's more likely that you've jumped the gun >> on the time zone change. >> >> If you use the correct time zone file, this change will be automatic; >> otherwise you'll have to be sitting there next to the machine at 2 am >> tomorrow morning in order to do the copy. >> >>> 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. >> >> This is very much a second-best choice. > > I was just getting stressed about the extended (non-standard) > daylight savings period for the Olympics and wondering what I can do > to older versions of FreeBSD which may not know about the extended > daylight savings. Ah, you didn't mention it was an old version. They sent a message round on VIGFUG the other day with locations of up-to-date time zone files. I deleted the message, but you could try picking up ftp://ftp.lemis.com/pub/Melbourne or ftp://ftp.lemis.com/pub/Sydney and seeing if they work. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html 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