Datepicker: fixed #4085 - Can not display year and month correctly in Japanese

This commit is contained in:
Keith Wood 2009-04-10 07:55:52 +00:00
parent b94d5cf673
commit 5235b3bbd5

View File

@ -50,11 +50,10 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$.datepicker.setDefaults($.extend({showMonthAfterYear: false}, $.datepicker.regional['']));
$.datepicker.setDefaults($.datepicker.regional['']);
$("#datepicker").datepicker($.datepicker.regional['fr']);
$("#locale").change(function() {
$('#datepicker').datepicker('option', $.extend({showMonthAfterYear: false},
$.datepicker.regional[$(this).val()]));
$('#datepicker').datepicker('option', $.datepicker.regional[$(this).val()]);
});
});
</script>