#3183 closed bug (fixed)
onSelect and onClose have inconsistent signatures
Reported by: | Owned by: | grabanski | |
---|---|---|---|
Priority: | minor | Milestone: | 1.6rc1 |
Component: | ui.datepicker | Version: | 1.5.2 |
Keywords: | onselect onclose date | Cc: | |
Blocked by: | Blocking: |
Description
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 14 years ago by
Milestone: | → 1.6 |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 14 years ago by
Milestone: | 1.6 → 1.6rc1 |
---|
Note: See
TracTickets for help on using
tickets.
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.