#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 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:2 Changed 9 years ago by
Looking at it more closely, you're setting showCurrentAtPos
to 1
, so it *should* be off by one month.
comment:3 Changed 9 years ago by
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.
comment:4 Changed 9 years ago by
Please read the documentation for the options you're using. http://api.jqueryui.com/datepicker/#option-showCurrentAtPos
That fiddle doesn't even set a date, so it can't be wrong.