Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#5989 closed bug (worksforme)

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.

Change History (3)

comment:1 Changed 13 years ago by kbwood

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>

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

Resolution: worksforme
Status: newclosed

comment:3 Changed 11 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.