Live data from Hacker News

So hard to have a date: js calendars review. New jquery calendar-picker

roberto.open-lab.com

1–10 of 20 posts

Re: So hard to have a date: js calendars review. New jquery calendar-picker

#3
Am I the only person who likes to be able to type in a flexible date format and have it autocorrect that to a known date? (I set this up for an internal work tool using http://www.datejs.com/ and it worked great.)

I type faster than I use the mouse. But everyone wants me to use a mouse. :-(

Re: So hard to have a date: js calendars review. New jquery calendar-picker

#4
post #3

Am I the only person who likes to be able to type in a flexible date format and have it autocorrect that to a known date? (I set this up for an internal work tool using http://www.datejs.com/ and it worked great.) I type faster than I use the mouse. But everyone wants me to use a mouse. :-(

I do, but I also like the option of a good date picker. Ideally a text input with a calender icon next to it, instead of a calendar that automatically shows on focus.

Re: So hard to have a date: js calendars review. New jquery calendar-picker

#5
post #3

Am I the only person who likes to be able to type in a flexible date format and have it autocorrect that to a known date? (I set this up for an internal work tool using http://www.datejs.com/ and it worked great.) I type faster than I use the mouse. But everyone wants me to use a mouse. :-(

I type rather fast as well, but I find dates awkward in ways that a picker solves. First, the mechanics of typing dates requires slashes.

But also, it requires knowledge, like "what the hell is today" so I can then work out "what is the date of next saturday". Date pickers do all that work for you.

Fuzzy text is fun, and can solve some of those problems as well, but is less intuitive (what is accepted, what isn't).

Re: So hard to have a date: js calendars review. New jquery calendar-picker

#6
post #3

Am I the only person who likes to be able to type in a flexible date format and have it autocorrect that to a known date? (I set this up for an internal work tool using http://www.datejs.com/ and it worked great.) I type faster than I use the mouse. But everyone wants me to use a mouse. :-(

jQuery.ui ones supports keyboard!

Re: So hard to have a date: js calendars review. New jquery calendar-picker

#8
post #3

Am I the only person who likes to be able to type in a flexible date format and have it autocorrect that to a known date? (I set this up for an internal work tool using http://www.datejs.com/ and it worked great.) I type faster than I use the mouse. But everyone wants me to use a mouse. :-(

The problem with all the date pickers that take text input is that they can't differentiate between 03-05-2010 being in March or May. I worked on some software for a company doing federal compliance consulting for employee hiring processes and requirements. We found that most people don't read (MM-DD-YYYY) type notifiers most of the time and immigrants were most likely to write dates as DD-MM-YYYY where as those born/raised in the US would write MM-DD-YYYY. When dealing with hiring issues getting those things wrong can lead to fines for the employer, incorrect eligibility for benefits for employees and other issues. What we ended up doing was having the date picker automatically show up and start moving to the date as it was typed in. If you entered 03-05-2010 and you meant May 5th 2010 you would see the calendar on March and then most users would switch to the date picker widget to correct the error.

Localized date pickers such as datejs don't solve this particular problem because all that happens is the assumption about what format the date will be entered in changes. So an American in Germany might enter MM-DD-YYYY and the date picker will just assume that it's DD-MM-YYYY because that's the format specified in the de-DE.js file.

I agree that flexible text entry fields are preferable, but I've seen several business cases for preventing the user from being able to enter the date any way they want due to the ambiguity in date formats.

Re: So hard to have a date: js calendars review. New jquery calendar-picker

#10
post #8
post #3

Am I the only person who likes to be able to type in a flexible date format and have it autocorrect that to a known date? (I set this up for an internal work tool using http://www.datejs.com/ and it worked great.) I type faster than I use the mouse. But everyone wants me to use a mouse. :-(

The problem with all the date pickers that take text input is that they can't differentiate between 03-05-2010 being in March or May. I worked on some software for a company doing federal compliance consulting for employee hiring processes and requirements. We found that most people don't read (MM-DD-YYYY) type notifiers most of the time and immigrants were most likely to write dates as DD-MM-YYYY where as those born…

A possible fix for ambiguous dates: When you detect an ambiguous date, prompt the user for the one they intended before allowing them to continue filling out the form.
Post reply on HN