From: Jeff King Date: Wed, 07 Jul 2010 18:12:21 GMT Subject: Re: [PATCH] t/t0006: specify timezone as EST5 not EST to comply with POSIX Message-ID: <20100707181221.GA5299@coredump.intra.peff.net> In-Reply-To: On Tue, Jul 06, 2010 at 06:34:20PM -0500, Brandon Casey wrote: > From: Brandon Casey > > POSIX requires that both the timezone "standard" and "offset" be specified > in the TZ environment variable. This causes a problem on IRIX which does > not understand the timezone 'EST'. > > Signed-off-by: Brandon Casey > --- > > I guess 'EST' is an alias? for EST5EDT? Linux and Solaris both grok EST > just fine. POSIX says the offset is required. I don't see any mention of > aliases. Yeah, I believe it is the same as EST5EDT. Which time zone isn't really important. The main thing is that it be a negative offset from UTC, and that we be able to convert the zone name into a numeric offset for the date specified in the test (which is totally arbitrary and can be tweaked if need be to avoid daylight saving issues). So I think your patch is fine, but we can look harder if somebody finds a platform that doesn't understand EST5. -Peff