Hi, all. I searched the archives regarding this method and didn't find anything applicable. Sorry if this has been covered.

Is there some list of acceptable strings for +dateWithNaturalLanguageString:? I am trying to set my Core Data entity's expirationDate attribute's default value to "four months from today" but it just returns the current date each time. Here are the strings I have tried:

"in four months"
"four months from now"
"four months from today"

I also tried the same strings in -awakeFromInsert to no avail.

This is on Leopard so perhaps it behaves differently than in Tiger? If anyone has an idea or direction to where I could find a list of acceptable strings, I'd greatly appreciate it.

Thanks!
JP
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to