Datepicker Docs & Proposed Features
After following some changes to the dev wiki regarding the Datepicker,
I got to thinking about the documentation for the plugin. Some points
of interest that I saw:
constrainInput
We could use some more documentation about what this option actually
does to the UI.
showOn
Could use some more documentation; listing what the valid values are
and what they do.
I also got to thinking about some functionality that I've used in the
past with regard to a datepicker control. I would like to open a
dialog about some proposed features and get the community's feedback
about them;
- Output in Windows Ticks format. See:
http://msdn.microsoft.com/en-us/library/system.datetime.ticks.aspx
This is something that I've used very frequently with ASP.NET projects
in the past. Given that Microsoft has chosen jQuery for it's ajax
framework post-Visual Studio 2008, I feel that adding this as an
output format would be highly advantageous to ASP.NET developers and
encourage use of the control as an alternative to the fairly limited
datepicker that ships with the ASP.NET Ajax Toolkit.
- Output in Unix TimeStamp
See: http://en.wikipedia.org/wiki/Unix_time
See: http://www.unixtimestamp.com/index.php
For the same reasons listed above, but for developers not on the
Microsoft platform.
- Conversely, accepting Unix TimeStamp or Windows Ticks as an
initialization option for setting the initial date for the plugin.
Ideally, this would be used with the alternateField option to show a
friendly date to the user, and transmit the raw value to the
server/recipient.
Please share your thoughts.
Thanks,
Andrew