Skip to content
Permalink
Browse files

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

… Japanese
  • Loading branch information
Keith Wood
Keith Wood committed Apr 10, 2009
1 parent b94d5cf commit 5235b3bbd51dbc139ad8405eb76aa5e8609fd34e
Showing with 2 additions and 3 deletions.
  1. +2 −3 demos/datepicker/localization.html
@@ -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>

0 comments on commit 5235b3b

Please sign in to comment.
You can’t perform that action at this time.