Subject: Re: timezone confusion
To: None <tech-userlevel@NetBSD.org>
From: Alan Barrett <firstname.lastname@example.org>
Date: 04/13/2006 21:23:38
On Thu, 13 Apr 2006, der Mouse wrote:
> Except I don't *want* DST rules; I want something I can put in TZ that
> will make time conversion run in, say, -0400, regardless of where
> anyone is and whether DST is in effect anywhere.
TZ="FOO+4", where "FOO" is an arbitrary name at least 3 chars in length
> Even if I just reverse the sign, that still leaves me with nothing I
> *can use to get, say, -0330.
> There are indications in those comments you pointed me at that
> TZ can be set to something other than a name of a file under
> /usr/share/zoneinfo; is this documented anywhere (besides POSIX
> itself, which I don't have a copy of)?
or you can just reverse engineer it from the code in tzparse() in
--apb (Alan Barrett)