Greeting, I would like the jqueryui datapicker to use polish localization. Addition开发者_开发问答ally, the dates have to be limited so it should not be possible to choose past dates. I have something like this:
$.datepicker.setDefaults($.datepicker.regional['pl']);
    $("#StartDate").datepicker({ minDate: 0, maxDate: '+1Y ' });
    $("#StartDate").datepicker('option', $.datepicker.regional['pl']);
Limitation works find, but I cannot achieve polish localization. Please help.
Make sure you included http://jquery-ui.googlecode.com/svn/trunk/ui/i18n/jquery.ui.datepicker-pl.js.
Also you don't need to set the option, setDefaults is enough.
$.datepicker.setDefaults($.datepicker.regional['pl']); 
    $("#StartDate").datepicker({ minDate: 0, maxDate: '+1Y ' });
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论