NSDate dateWithNaturalLanguageString:
NSDate dateWithNaturalLanguageString:
- Subject: NSDate dateWithNaturalLanguageString:
- From: Jack <email@hidden>
- Date: Fri, 08 Apr 2005 20:16:04 +0200
Why does NSDate's class method dateWithNaturalLanguageString: when given a
string of type: "20050406". Return an invalid date of
"-3468036-03-03T04:00:00Z"? Given a string it doesn't understand it should
return nil, like it does for "NotADate". The worst part is it will write it
out to a property list but then it won't understand it when trying to read
it back, it quits reading the whole property list altogether. Is this
something that should be a bug report, or just a matter of unorthodox users
who refuse to use a decent readable date format?
Regards,
Jack.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden