Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3183 closed bug (fixed)

onSelect and onClose have inconsistent signatures

Reported by: paul.p.carey@… Owned by: grabanski
Priority: minor Milestone: 1.6rc1
Component: ui.datepicker Version: 1.5.2
Keywords: onselect onclose date Cc:
Blocked by: Blocking:


onSelect receives a date as a string, formatted per the dateFormat option. onClose receives an actual date.

It is reasonable to expect onClose to receive a date of the same type and of the same format as onSelect.

Change History (3)

comment:1 Changed 9 years ago by Cloudream

  • Milestone set to 1.6

comment:2 Changed 9 years ago by kbwood

  • Resolution set to fixed
  • Status changed from new to closed

Fixed. onSelect and onClose now both return the text form of the date(s). Also updated onChangeMonthYear to return year and month separately, rather than in a Date object.

comment:3 Changed 8 years ago by rdworth

  • Milestone changed from 1.6 to 1.6rc1
Note: See TracTickets for help on using tickets.