• 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: Natural language date entry problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Natural language date entry problems


  • Subject: Re: Natural language date entry problems
  • From: Gideon King <email@hidden>
  • Date: Mon, 26 Dec 2005 00:44:46 +1000

I agree it's very confusing for users, and I wanted to give my users some documentation on what works...

The problem is that these are exact examples taken from Apple's documentation and they don't work, and I can't find any documentation of what really does work.

I think I'll file a bug report on this.


Gideon King
email@hidden

On 20/12/2005, at 12:08 PM, Dave Hayden wrote:

On Dec 14, 2005, at 9:42 PM, Gideon King wrote:

I enter I expected I got
Today Thursday, 15 December 2005 Thursday, 15 December 2005
day before yesterday Tuesday, 13 December 2005 Wednesday, 14 December 2005
day after tomorrow Saturday, 17 December 2005 Friday, 16 December 2005
a month from today Sunday, 15 January 2006 Thursday, 15 December 2005
next tuesday Tuesday, 20 December 2005 Tuesday, 20 December 2005

So out of 5 trials, 2 came out as expected, and the three that didn't work were explicitly examples taken from Apple's documentation.

dateWithNaturalLanguageString: just ignores the words it doesn't understand, so "day after tomorrow" is "blah blah tomorrow" is "tomorrow" to NSDate.

Very, very confusing when you don't realize what's going on.

-D


_______________________________________________
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
  • Follow-Ups:
    • Re: Natural language date entry problems
      • From: mmalcolm crawford <email@hidden>
References: 
 >Natural language date entry problems (From: Gideon King <email@hidden>)
 >Re: Natural language date entry problems (From: Dave Hayden <email@hidden>)

  • Prev by Date: Re: R: Running out of VM
  • Next by Date: Re: Natural language date entry problems
  • Previous by thread: Re: Natural language date entry problems
  • Next by thread: Re: Natural language date entry problems
  • Index(es):
    • Date
    • Thread