Subject: Re: timezone confusion
To: Alan Barrett <apb@cequrux.com>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 04/23/2006 17:06:39
On Thu, Apr 13, 2006 at 09:23:38PM +0200, Alan Barrett wrote:
> 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

Is there any other way :-)
That is the original way TZ worked, all this file-based stuff is modern.

We used to set TZ=GMT0BST-1 and put up with having the USA dates for
changing to/from summertime (the were typically one week out).

ISTR there is a syntax for specifying the start/end dates.  The UK
used to switch on the Sunday after the 4th Saturday in March.  This
could be coded as 26:00 on the Saturday, the first year it mattered
(for a long time) the government changed to the 4th Sunday....

	David

-- 
David Laight: david@l8s.co.uk