[Rt-devel] RT 3.6.4rc2

Kelly F. Hickel kfh at mqsoftware.com
Fri Jun 15 08:59:56 EDT 2007


Hmm, the obvious combinations work for me on centos 5.5.....

[root at starbug2 ~]# TZ=GMT perl -e' print localtime()."\n";'
Fri Jun 15 12:58:10 2007
[root at starbug2 ~]# TZ="US/Eastern" perl -e' print localtime()."\n";'
Fri Jun 15 08:58:21 2007
[root at starbug2 ~]# perl  -e' $ENV{TZ} = "GMT"; print localtime()."\n";'
Fri Jun 15 12:59:08 2007
[root at starbug2 ~]# perl  -e' $ENV{TZ} = "US/Eastern"; print
localtime()."\n";'
Fri Jun 15 08:59:15 2007
[
-- 
 
Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh at mqsoftware.com


> -----Original Message-----
> From: rt-devel-bounces at lists.bestpractical.com [mailto:rt-devel-
> bounces at lists.bestpractical.com] On Behalf Of Jesse Vincent
> Sent: Friday, June 15, 2007 7:53 AM
> To: Norton, Ian
> Cc: rt-devel at lists.bestpractical.com
> Subject: Re: [Rt-devel] RT 3.6.4rc2
> 
> 
> On Jun 15, 2007, at 7:08 AM, Norton, Ian wrote:
> 
> > perl -e' print localtime()."\n";
> > $ENV{TZ} = "US/Eastern";  print localtime()."\n";'
> 
> 
> Fascinating.
> 
> TZ=GMT perl -e' print localtime()."\n"; $ENV{TZ} = "US/Eastern";
> print localtime()."\n";'
> 
> Mac OS X:
> 
> Fri Jun 15 12:50:55 2007
> Fri Jun 15 08:50:55 2007
> 
> 
> Linux:
> 
> Fri Jun 15 12:51:51 2007
> Fri Jun 15 12:51:51 2007
> 
> Both 5.8.8.
> 
> I wonder what bit of cleverness I'm missing.


More information about the Rt-devel mailing list