Opened 12 years ago
Closed 12 years ago
#7079 closed bug (wontfix)
gotoCurrent doesn't work if dateFormat doesn't have day
Reported by: | eheikes | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.datepicker | Version: | 1.8.10 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If the dateFormat option does not have a "day" component, the datepicker does not open to the currently selected month+year.
Example code: http://jsbin.com/itaqi5/2
Steps to reproduce:
- Click on field and choose a date before/after today's month.
- Click on field again.
- Expected: Datepicker shows month+year for current date.
- What happens: Datepicker shows month+year for today's date.
Tested on Chrome 9.0.597.94 (Ubuntu).
Change History (2)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Datepicker is only designed to support picking days. A separate widget would be necessary for properly selecting other values, like weeks or months. For an example of what a month picker should look like see http://imgur.com/TXCuZ
Note: See
TracTickets for help on using
tickets.
Committed to github: https://github.com/tomgallacher/jquery-ui/commit/e542d4d1ba485cef06639ab5f4b69c11f3ae3ae3