• 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
NSDate resolves to midnight of the current day if given the natural language string "now"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDate resolves to midnight of the current day if given the natural language string "now"


  • Subject: NSDate resolves to midnight of the current day if given the natural language string "now"
  • From: Wade Tregaskis <email@hidden>
  • Date: Sat, 13 Nov 2004 21:08:37 +1100

The subject pretty much summarises it... I'm parsing input from the user and they need to be able to specify now, as in the actual now, including hours, minutes & seconds. No matter what natural language string I try, I cannot get the current date & time. "right now" is supported, but is no different to "now"... I haven't tried "no, really, right now, as in this second", but I have a feeling that's still on a todo list somewhere... ;)

This smells like a bug to me, anyway, so I'll probably file a bug report. But I'm sure there must be a workaround I can use in the meantime, short of doing my own natural language parsing - which kinda defeats the whole purpose, strangely enough.

Wade Tregaskis (AIM, Yahoo & Skype: wadetregaskis, ICQ: 40056898, MSN & email: email@hidden, Jabber: email@hidden)
-- Sed quis custodiet ipsos custodes?


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: How to protect Nib file from user modify?
  • Next by Date: Re: Controller Method called after apps Nib is loaded
  • Previous by thread: Re: newbie question
  • Next by thread: Binding and dependant keys
  • Index(es):
    • Date
    • Thread