Opened 9 years ago

Closed 8 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:

  1. Click on field and choose a date before/after today's month.
  2. 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:2 Changed 8 years ago by Scott González

Resolution: wontfix
Status: newclosed

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.