Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10209 closed bug (notabug)

Datepicker will shown Monthname -1

Reported by: glueck Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.11.0
Keywords: Cc:
Blocked by: Blocking:

Description

If changeMonth: true and the regional changed to 'de' (german) then the shown month is wrong (eq current -1) You can proof at: http://jsfiddle.net/f9mG4/ It must be "Oktober" but "September" is shown.

Change History (4)

comment:1 Changed 5 years ago by Scott González

Resolution: notabug
Status: newclosed

That fiddle doesn't even set a date, so it can't be wrong.

Last edited 5 years ago by Scott González (previous) (diff)

comment:2 Changed 5 years ago by Scott González

Looking at it more closely, you're setting showCurrentAtPos to 1, so it *should* be off by one month.

comment:3 Changed 5 years ago by glueck

Why the datepicker catches the year correct and the month is allways the month from the textbox -1 ? And this is not a Bug? You can try in the fiddle above i add some fields with different dates and the datepicker catch the values but incorrekt.

#! The Bug is the "showCurrentAtPos" is only 1 month is shown it will work not correct.

Last edited 5 years ago by glueck (previous) (diff)

comment:4 Changed 5 years ago by Scott González

Please read the documentation for the options you're using. http://api.jqueryui.com/datepicker/#option-showCurrentAtPos

Note: See TracTickets for help on using tickets.