Skip to content

Commit

Permalink
Datepicker: fixed #4085 - Can not display year and month correctly in…
Browse files Browse the repository at this point in the history
… Japanese
  • Loading branch information
Keith Wood committed Apr 10, 2009
1 parent b94d5cf commit 5235b3b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions demos/datepicker/localization.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5235b3b

Please sign in to comment.