mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: fixed #4085 - Can not display year and month correctly in Japanese
This commit is contained in:
parent
b94d5cf673
commit
5235b3bbd5
@ -50,11 +50,10 @@
|
|||||||
<link type="text/css" href="../demos.css" rel="stylesheet" />
|
<link type="text/css" href="../demos.css" rel="stylesheet" />
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function() {
|
$(function() {
|
||||||
$.datepicker.setDefaults($.extend({showMonthAfterYear: false}, $.datepicker.regional['']));
|
$.datepicker.setDefaults($.datepicker.regional['']);
|
||||||
$("#datepicker").datepicker($.datepicker.regional['fr']);
|
$("#datepicker").datepicker($.datepicker.regional['fr']);
|
||||||
$("#locale").change(function() {
|
$("#locale").change(function() {
|
||||||
$('#datepicker').datepicker('option', $.extend({showMonthAfterYear: false},
|
$('#datepicker').datepicker('option', $.datepicker.regional[$(this).val()]);
|
||||||
$.datepicker.regional[$(this).val()]));
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user