Re: NSDateFormatter refuses to format dates
Re: NSDateFormatter refuses to format dates
- Subject: Re: NSDateFormatter refuses to format dates
- From: Fritz Anderson <email@hidden>
- Date: Tue, 27 Sep 2011 09:39:15 -0500
On 27 Sep 2011, at 3:41 AM, Gerriet M. Denkmann wrote:
> [ dateFormatter setGeneratesCalendarDates: YES ];
...
> NSLog(@" now \"%@\"", [dateFormatter stringFromDate: [NSDate date]]);
NSCalendarDate is really most sincerely deprecated, and you're feeding the formatter an NSDate, not an NSCalendarDate. What happens if you set this to NO (or don't set it at all)?
In general, what happens if you temporarily remove the locale and time zone settings?
— F
_______________________________________________
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