Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#4479 closed bug (wontfix)

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:

Description

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.

Change History (2)

comment:1 Changed 11 years ago by kbwood

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\.

comment:2 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.