Re: -[NSDateFormatter dateFromString:] and non-standard formats
Re: -[NSDateFormatter dateFromString:] and non-standard formats
- Subject: Re: -[NSDateFormatter dateFromString:] and non-standard formats
- From: Tommy Nordgren <email@hidden>
- Date: Thu, 1 Feb 2007 21:24:37 +0100
On 31 jan 2007, at 21.19, Nick Zitzmann wrote:
On Jan 31, 2007, at 7:19 AM, Tommy Nordgren wrote:
I have tested using NSDateFormatter with the suggested format. It
works if I DON't call -setGeneratesCalendarDates.
Also you should specify that the formatter use the new mode for
tiger, and that you specify the format string using ICU syntax
OK, I tried it with -setGeneratesCalendarDates: turned off and I
still get a nil result.
Theoretically what I'm doing ought to work, right? I'm going to
file a bug on this issue, and then start writing my own date parser...
Nick Zitzmann
<http://www.chronosnet.com/>
Are you using the correct fromatting string?
[form setDateFormat:@"yyyyMMdd'T'HHmmss"];
----
Kine dies, Kinfolk dies, and thus at last yourself
This I know that never dies, how a dead mans deeds are deemed. --
Elder edda
Tommy Nordgren
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden