]> source.dussan.org Git - jquery-ui.git/commitdiff
Datepicker: fixed #4085 - Can not display year and month correctly in Japanese
authorKeith Wood <kbwood.au@gmail.com>
Fri, 10 Apr 2009 07:55:52 +0000 (07:55 +0000)
committerKeith Wood <kbwood.au@gmail.com>
Fri, 10 Apr 2009 07:55:52 +0000 (07:55 +0000)
demos/datepicker/localization.html

index 39bc6609529b063585a281ab21640379310d2ebf..36d90f01261b306df546b1ef09d73097142fa57e 100644 (file)
        <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>