On 05.04.2009, at 11:24, Graham Cox wrote:
However it does seem as if writing out the date as seconds since 1970 (or a string, as Tommy suggested) might be safer and cut out any potential gotchas that I haven't realised existed.


 Keep us posted whether that fixes it.

Have you got a copy of the user's Preferences file? There might be some clue in there, e.g. use of different date separators or so. My guess would be that an invalid date will probably end up as [NSDate distantPast], or NIL and thus return NO if it's the first item in your test, or throw if it's the second.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de





_______________________________________________

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