Probable bug with NSTimeZone
Probable bug with NSTimeZone
- Subject: Probable bug with NSTimeZone
- From: "Pierre Bernard" <email@hidden>
- Date: Thu, 6 Nov 2003 18:49:15 +0100
- Thread-topic: Frontbase and WebObjects
Hi!
It appears to me that the Java 1.4.1_05 (Win32) & WO 5.2.2 combo introduced a bug with NSTimeZone.
The line below which I use to set the default timezone seems to lead to offsets in date computations later on in the application:
NSTimeZone cetTimeZone = NSTimeZone.timeZoneWithName("Europe/Rome", true);
As a workaround I am now using this line:
TimeZone cetTimeZone = TimeZone.getTimeZone("Europe/Rome");
Sorry, I have no time to verify or explore this any further. I am off to a long weekend :-)
Pierre
--
Got a hang for movies?
http://homepage.mac.com/I_love_my/movies.html
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (email@hidden)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.