From: "Tim Funk" <[EMAIL PROTECTED]>
> Odd. Is it possible the userid being used to launch tomcat has a borked
> environment variable?

Or that Java doesn't use the same list of timezones as everyone else??  It
doesn't seem to like the '7'-- MST works fine, using MST7 gives the same
result as GMT.  AFAIK we've been using MST7 forever, I don't remember ever
having to mess with it, (but I'm not the server admin.)

# TZ=MST7; export TZ; echo $TZ; java Foo
MST7
Thu Jan 20 19:54:20 GMT 2005   <----incorrect

# TZ=MST; export TZ; echo $TZ; java Foo
MST
Thu Jan 20 12:54:36 MST 2005       <----- correct

# TZ=GDT; export TZ; echo $TZ; java Foo
GDT
Thu Jan 20 19:54:56 GMT 2005     <----- correct there, not here!

(Java 1.5 on HP-UX 11.00)
Tim, thanks for taking the time to help with this.

-- 
Wendy Smoak


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to