My app imports tab-delimited data, and to convert a string date value
to a NSDate value, it uses this method:
NSDate *theDate = [NSDate dateWithNaturalLanguageString:theStr
locale:[[NSUserDefaults standardUserDefaults]
dictionaryRepresentation]];
This works fine for English date strings, but not when the date string
is non-English. For example, a German date string usually (but not
always) returns a nil value. This is true even when the OS is the
German OS.
Is there better way to convert string date values to NSDate values,
especially non-English string date values?
Thanks in advance.
-Kyle
_______________________________________________
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