On Dec 11, 2010, at 9:28 PM, Stephen J. Butler wrote:

> On Sat, Dec 11, 2010 at 5:14 PM, WT <jrca...@gmail.com> wrote:
>> All results are correct, except for the last two. "123.456,78" should result 
>> in 123456.78 and 23/04/2010 should result in the appropriate NSDate object 
>> for April 23, 2010.
>> 
>> The locale is NOT being ignored, since 12,34 and 123456,78 are parsed 
>> correctly. Yet, the group separator causes trouble and dates aren't being 
>> parsed correctly.
> 
> -[NSNumberFormatter setUsesGroupingSeparator:]
Hi Stephen,

thanks for replying. I tried it and it gives the exact same results as before, 
that is, the presence of the group separator causes the number formatter to 
return nil. Besides, there remains the date formatter issue.

Thanks again.
WT_______________________________________________

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