• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: -[NSDateFormatter dateFromString:] and non-standard formats
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: CoreData - Turning to-many relationship back into a fault
  • Next by Date: Re: key path blues
  • Previous by thread: CoreData - Turning to-many relationship back into a fault
  • Next by thread: Re: filling & sorting and NSTableView through bindings
  • Index(es):
    • Date
    • Thread