Search and Top Navigation
#2593 closed enhancement (fixed)
Opened March 27, 2008 10:32AM UTC
Closed June 18, 2008 05:30PM UTC
Last modified May 16, 2010 03:26PM UTC
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 (0)
Change History (8)
Changed March 27, 2008 10:40AM UTC by comment:1
Changed March 27, 2008 02:32PM UTC by comment:2
owner: | paul → iMarc |
---|
Changed May 24, 2008 03:39AM UTC by comment:3
milestone: | 1.2.4 |
---|
Milestone 1.2.4 deleted
Changed May 24, 2008 07:35PM UTC by comment:4
component: | ui.core → ui.datepicker |
---|---|
version: | 1.2.3 → 1.5b4 |
Changed May 27, 2008 10:44PM UTC by comment:5
owner: | iMarc → grabanski |
---|---|
status: | new → assigned |
Changed June 17, 2008 05:50PM UTC by comment:6
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.
Changed June 18, 2008 05:30PM UTC by comment:7
resolution: | → fixed |
---|---|
status: | assigned → closed |
Changed June 27, 2008 10:26AM UTC by comment:8
milestone: | → 1.5.1 |
---|---|
version: | 1.5b4 → 1.5 |
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.