Skip to main content

Search and Top Navigation

#5989 closed bug (worksforme)

Opened August 25, 2010 11:12AM UTC

Closed October 26, 2010 02:02PM UTC

Last modified October 11, 2012 09:15PM UTC

regional (l18n) obliterates dateFormat

Reported by: Mytskine Owned by:
Priority: major Milestone:
Component: ui.datepicker Version: 1.8.4
Keywords: Cc:
Blocked by: Blocking:
Description

When a localization is set, the option "dateFormat" is ignored. So only english speakers can choose their date format. I'd like to have, for instance, a French calendar with an ISO date field.

Attachments (0)
Change History (3)

Changed September 15, 2010 10:49PM UTC by kbwood comment:1

The following works for me:

<script type="text/javascript" src="js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.4.custom.js"></script>
<script type="text/javascript" src="js/i18n/jquery.ui.datepicker-fr.js"></script>
<script type="text/javascript">
$(function() {
    $('#startDate').datepicker({dateFormat: 'yy-mm-dd'});
});
</script>

Changed October 26, 2010 02:02PM UTC by scottgonzalez comment:2

resolution: → worksforme
status: newclosed

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

milestone: TBD

Milestone TBD deleted