On Apr 8, 2011, at 17:26, Rick Mann wrote:

> 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.

Yeah, that's what Gary Wade suggested privately and it's now working.

Thanks for the suggestion, Rick, much appreciated.

-Laurent.
-- 
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin                                 
http://www.nemesys-soft.com/
Logiciels Nemesys Software                                      
laur...@nemesys-soft.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