#2593 closed enhancement (fixed)
jquery.datepicker using months instead of prev and next
Reported by: | atlithorn | Owned by: | grabanski |
---|---|---|---|
Priority: | trivial | Milestone: | 1.5.1 |
Component: | ui.datepicker | Version: | 1.5 |
Keywords: | datepicker | Cc: | |
Blocked by: | Blocking: |
Description
We needed to replace prev and next links with corresponding month names. If you are interested please find included a patch to enable this behaviour. We enable this feature by setting prevText/nextText to null in the options. We also needed to disable currentText so setting that option to null simply blanks the currentText link
Attachments (1)
Change History (9)
Changed 15 years ago by
Attachment: | ui.datepicker.patch added |
---|
comment:1 Changed 15 years ago by
We really do not want to have to change the source but because there is no 'beforeShowMonth' callback (could be at the beginning of _updateDatePicker... and we could update prevText/nextText manually there) we were forced to go this route.
comment:2 Changed 15 years ago by
Owner: | changed from paul to iMarc |
---|
comment:4 Changed 15 years ago by
Component: | ui.core → ui.datepicker |
---|---|
Version: | 1.2.3 → 1.5b4 |
comment:5 Changed 15 years ago by
Owner: | changed from iMarc to grabanski |
---|---|
Status: | new → assigned |
comment:6 Changed 15 years ago by
Fixed 17 June 2008. Set the navigationAsDateFormat setting to true to be able to use any of the datepicker date formatting characters within the prev/current/next texts. For example: $("#misc").datepicker({navigationAsDateFormat: true, prevText: "<M", currentText: "M y", nextText: "M>"}); shows the short month names.
comment:7 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:8 Changed 15 years ago by
Milestone: | → 1.5.1 |
---|---|
Version: | 1.5b4 → 1.5 |
patch to version 3.4 to enable monthnames instead of prev and next