NSDate resolves to midnight of the current day if given the natural language string "now"
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