On 09/01/2009, at 3:10 AM, Ken Anderson wrote:

I do exactly what you're doing all the time, and I do not have the issue you're experiencing. One thing I do at the beginning of my WOApplication subclass is this:

                TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
                NSTimeZone.setDefault(TimeZone.getTimeZone("GMT"));

This will make sure that you're really working in GMT across the board. Can you do the above and try your tests again?

Yep.

Behaves correctly - no way

Yes way :-)

NSTimestamp reports a timezone which is not used by GregorianCalendar ??

GregorianCalendar does *not* change its timezone based on the date passed to it. You are responsible for determining that. That's nothing to do with NSTimestamp.

This is a difficult bug.

Just more a misunderstanding on your part.

with regards,
--

Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to