Skip to main content

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:

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 atlithorn comment:1

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.

Changed March 27, 2008 02:32PM UTC by paul comment:2

owner: pauliMarc

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 paul comment:4

component: ui.coreui.datepicker

Changed May 27, 2008 10:44PM UTC by paul comment:5

owner: iMarcgrabanski
status: newassigned

Changed June 17, 2008 05:50PM UTC by kbwood 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 kbwood comment:7

resolution: → fixed
status: assignedclosed

Changed June 27, 2008 10:26AM UTC by rdworth comment:8

milestone: → 1.5.1
version: 1.5b41.5