On Jul 15, 2008, at 2:36 PM, Markus Spoettl wrote:
This specific crash happened with the string: "2008-05-09 19:47:47 +0000", which seems perfectly valid input for NSDate -initWithString:.

Works for me:

- (void)awakeFromNib
{
NSDate *date = [[NSDate alloc] initWithString:@"2008-05-09 19:47:47 +0000"];
    NSLog(@"date is %@", date);
}

--Andy

_______________________________________________

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