Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#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 10 years ago by cby016

You can close this ticket. I just realized that I had to use the altField option for the altFormat option to work.

comment:2 Changed 10 years ago by Scott González

Resolution: worksforme
Status: newclosed

comment:3 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.