Search and Top Navigation
#4873 closed bug (worksforme)
Opened September 22, 2009 05:33PM UTC
Closed September 24, 2009 02:43AM UTC
Last modified October 11, 2012 09:15PM UTC
fix documentation for date picker - alt date format
Reported by: | cby016 | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | [meta] ui.docs | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The documentation for the date picker alternate date format is incorrect. If you go to
http://jqueryui.com/demos/datepicker/#option-altFormat
and click on options and then click on altFormat the code examples say altFormat instead of dateFormat
For example
$('.selector').datepicker({ altFormat: 'yy-mm-dd' });
should be changed to
$('.selector').datepicker({ dateFormat: 'yy-mm-dd' });
You can close this ticket. I just realized that I had to use the altField option for the altFormat option to work.