Re: NSDateFormatter refuses to format dates
Re: NSDateFormatter refuses to format dates
- Subject: Re: NSDateFormatter refuses to format dates
- From: glenn andreas <email@hidden>
- Date: Tue, 27 Sep 2011 10:03:24 -0500
On Sep 27, 2011, at 9:53 AM, Gerriet M. Denkmann wrote:
>>
>> In general, what happens if you temporarily remove the locale and time zone settings?
> The time zone settings have been already removed, because setting the locale also sets the time zone.
NSLocale has no idea about time zones - the two are orthogonal. NSLocale does know what NSCalendar to use (so doing setLocale: should mean that you don't need to do setCalendar:), but a given locale can have more than one time zone, and a single time zone can potentially cross multiple locales.
Not that that probably has a whole lot to do with NSDateFormatter returning empty strings...
Glenn Andreas email@hidden
The most merciful thing in the world ... is the inability of the human mind to correlate all its contents - HPL
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden