It uses jQuery and a JavaScript date parsing library by the name of Date.js. This thing is simply amazing. Some of the reasons I think so:
- The developer can configure a start and end date limits based on what is valid for the system (e.g. if you only have data going back to 1999, no sense in letting the user chose a date in 3000 BC)
- The developer can configure a set of predefined ranges such as "Last week", "Month to date", "Year to date".
- If the developer allows it, the user can use any combination of preconfigured ranges, a single date, an arbitrary range of dates, or they can use the back and forward arrows to roll the current date range forward or back.
- It is smooth and crisp, able to be easily themed, and seems pretty extensible/tweakable.
I'm also pretty sure it has an off by one error in it that I suspect they'll fix shortly. If you select Sunday to Saturday of a week and then scroll backward, the next range is actually Monday to Sunday and the next Tuesday to Monday...
Ignore these nitpicks and go check it out right away if your website needs a date picker though. To get such a fantastic widget in the very first release can only mean that it is going to be the bee's knees after a little public beta testing.
Powered by ScribeFire.
![[info]](http://l-stat.livejournal.com/img/userinfo.gif)


(Anonymous)
2008-10-25 12:17 pm (UTC)