Skip to main content

Search and Top Navigation

#8214 closed bug (notabug)

Opened March 23, 2012 11:39AM UTC

Closed March 23, 2012 11:52AM UTC

Last modified March 23, 2012 12:02PM UTC

Datepicker not opens to previous date if format is used without a day

Reported by: Boro Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.datepicker Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:
Description

For some reason the datepicker doesn't open to previously selected date if I use format that doesn't include day (e.g. 'MM yy'), as demonstrated here http://jsfiddle.net/nEGTv/2/

This is related to the question I raised on Stack Overflow

http://stackoverflow.com/questions/9838473/jquery-ui-datepicker-not-opening-to-previously-selected-date-if-format-doesnt-i

Best Regards,

Konrad Borowiecki

Attachments (0)
Change History (2)

Changed March 23, 2012 11:52AM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

The datepicker is only designed to pick days, not months.

Related to #7759.

Changed March 23, 2012 12:02PM UTC by Boro comment:2

_comment0: I understand what you are trying to say though I disagree similarly to the person in the related ticket (#7759), that text field should only present it to user rater then being also data source. \ BTW: if you call method getDate it returns correct values, so why it is not used instead when opening the datapicker dialog?1332504192996020

I understand what you are trying to say though I disagree similarly to the person in the related ticket (#7759), that text field should only present it to user rater than being also data source.

BTW: if you call method getDate it returns correct values, so why it is not used instead when opening the datapicker dialog?