#4873 closed bug (worksforme)
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' });
Change History (3)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
You can close this ticket. I just realized that I had to use the altField option for the altFormat option to work.