The time zone doesn't seem to be set correctly on the mac. This same
code seems to work on the windows. The example uses PST but I've tried
GMT-8 and others and it doesn't seem to matter. It likes UTC.

Test case:

TimeZone.setDefault(TimeZone.getTimeZone("PST"));
System.out.println("NOW=" + new Date() + " TZ=" + TimeZone.getDefault
());

NOW=Sat Dec 26 23:17:05 UTC 2009 TZ=sun.util.calendar.ZoneInfo
[id="UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
D

Is there something special that needs to be done on the Mac?


thanks

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to