Re: NSDateFormatter setDoesRelativeDateFormatting: broken?
Re: NSDateFormatter setDoesRelativeDateFormatting: broken?
- Subject: Re: NSDateFormatter setDoesRelativeDateFormatting: broken?
- From: Rick Mann <email@hidden>
- Date: Fri, 08 Apr 2011 17:26:43 -0700
On Apr 8, 2011, at 16:44 , Laurent Daudelin wrote:
> NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] initWithDateFormat:@"%Y-%m-%d %H:%M:%S" allowNaturalLanguage:YES];
My guess would be the format you're initting it with is overriding the relative date setting. Try using "init" instead.
--
Rick
_______________________________________________
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