On Fri, Aug 26, 2011 at 12:38 AM, Gerriet M. Denkmann
<gerr...@mdenkmann.de> wrote:
>
> The documentation says about -[NSDate description]: "The representation is 
> not guaranteed to remain constant across different releases of the operating 
> system."

That really says it all right there.

> NSLog(@"someDate: %@", someDate );
> Formerly did print the time in the local time zone. Which is a very sensible 
> thing to do.

Yes, but it led to a lot of confusion. I.e. a lot of developers
thought that NSDate contained timezone information; it does not. Under
the covers, NSDate is nothing more than a number representing the
seconds elapsed since the epoch--no timezone, no calendar system, no
daylight savings, etc.

-- 
Clark S. Cox III
clarkc...@gmail.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to