jpoumailloux / jquery.ui.monthpicker

Monthpicker, the missing JQuery UI widget.
36 stars 32 forks source link

Format 'mm/y' #8

Open inguni opened 11 years ago

inguni commented 11 years ago

When I use the next format: 'mm/y', and I select some month in the year (For example Feb/12), when I will select another month, it takes 1912 and not 2012.

(Sorry for my english)

albertpak commented 11 years ago

Try adding a year range, something like yearRange: '2012:2025'

zorab47 commented 11 years ago

@inguni so you would like it to assume the current century at a minimum? Otherwise it could assume the input is referring to the previously set century or maybe set an HTML data value on the input of the month and year.