An app which provides two things:
- A view, suitable for calling from ajax, for parsing "fuzzy" (e.g. natural-language) dates, times, and datetimes.
- A collection of form fields and widgets which use the view to provide "live" previews and validation of dates and times as they are typed into the browser.
Date/time selection solutions on the web suffer from several common problems:
- Graphical popup calendars require a bazillion (on average, I counted) clicks to choose a date, particularly if the date is not in the current month.
- Worse still, most graphical popup calendars make the selection process yet more onerous by presenting miniscule click targets for each day and the month navigation buttons.
- Time selection widgets are practically nonexistant.
- Text-input solutions exist but they are all user-hostile in that they require user input to be in a very specific format. Additionally, they do not provide ongoing feedback while the user is typing, which necessitates a game of submit-and-let's-see-if-it's-ok.
The heavy lifting is provided by the parsedatetime module. Consult their documentation for a list of supported formats.
The widgets rely on jquery and a couple of plugins.
You must be joking. This is a brain-dump release. Docs when I have time.
The view portion of the app is available in hosted form on Google AppEngine at http://natural-datetime.appspot.com.
Oct 9th 2009: What is laughably called an "initial release," includes a straight dump of code with no documentations or instructions on how to get it to work. Am releasing for the sake of "releasing early", embracing my stupidity and putting it on display.
- Making it easy to use the included media.
- Document what external media is used (also that this project requires a customized version of labelify.)
- css examples
- make hidden SplitFuzzyDateTimeFields work.
- I'm sure, lots more...