Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#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:


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

Change History (8)

comment:1 Changed 9 years ago by atlithorn

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 9 years ago by paul

  • Owner changed from paul to iMarc

comment:3 Changed 9 years ago by anonymous

  • Milestone 1.2.4 deleted

Milestone 1.2.4 deleted

comment:4 Changed 9 years ago by paul

  • Component changed from ui.core to ui.datepicker
  • Version changed from 1.2.3 to 1.5b4

comment:5 Changed 9 years ago by paul

  • Owner changed from iMarc to grabanski
  • Status changed from new to assigned

comment:6 Changed 9 years ago by kbwood

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 9 years ago by kbwood

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:8 Changed 9 years ago by rdworth

  • Milestone set to 1.5.1
  • Version changed from 1.5b4 to 1.5
Note: See TracTickets for help on using tickets.