Skip to main content

Search and Top Navigation

#4479 closed bug (wontfix)

Opened April 16, 2009 02:27PM UTC

Closed April 26, 2009 06:58AM UTC

Last modified October 11, 2012 09:15PM UTC

Datepicker currentText -> text is formated to a date

Reported by: pbro Owned by:
Priority: minor Milestone:
Component: ui.datepicker Version: 1.7.1
Keywords: datepicker, currentText Cc:
Blocked by: Blocking:

When setting the currentText attribute on datepicker the text is formated to a date e.i tested on 16 april 2009:

currentText: 'today'

displays: t10616a09

'o' becomes day of year (106)

'd' becomes day of month (16)

'y' becomes 2-digit year (09)

I am using the datepicker in a dutch site so i wanted to display 'vandaag' which became van16aag.

Attachments (0)
Change History (2)

Changed April 26, 2009 06:58AM UTC by kbwood comment:1

resolution: → wontfix
status: newclosed

This happens when you have navigationAsDateFormat set to true - previous/next/current links are then interpreted as date formats to allow labelling with the appropriate month/year. Either set this to false or quote your text: currentText: '\\'Today\\''.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted