Ticket #3183 (closed bug: fixed)

Opened 7 years ago

Last modified 7 years ago

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:
Blocking: Blocked by:


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

comment:1 Changed 7 years ago by Cloudream

  • Milestone set to 1.6

comment:2 Changed 7 years ago by kbwood

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

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 7 years ago by rdworth

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