On Mar 31, 2009, at 11:03 PM, Mr. Pierre Frisch wrote:

It is actually the way it is implemented but it depends on API that are incorrect. It is way better to forget it. I have added the translation from the legacy format to the SimpleDateFormat in the components.

Pierre
--
Pierre Frisch
[email protected]



In my time in the WebObjects group at Apple, I learned that the perfect cannot be made the enemy of the good. The idealism I had at the time did not help me there. Now I have only one response to this.

Project Wonder is open-source, which means that anyone, including people who happen to work at Apple, can contribute to it. And code talks.

cheers - ray

On Mar 31, 2009, at 17:22, Chuck Hill wrote:


On Mar 31, 2009, at 5:17 PM, Mike Schrag wrote:

And please don't use NSTimestampFormatter if you are using local times it is deprecated and does not work correctly in particular with daylight saving time and such.
It would work correctly if you fixed it.  :-)
Added String ERXTimestampUtilities .simpleDateFormatForNSTimestampFormat(String) ... It's definitely wonky -- NSTimestampFormatter definitely seems pretty messed up :) But this could be used to provide a mostly correct cover (so NSTimesatmpFormatter could have-a simpledateformat inside).

Which is what it almost certainly should have been in the first place. And a far better solution than deprecating it, IMO.


Chuck


--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________
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/ray%40ganymede.org

This email sent to [email protected]

_______________________________________________
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