mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
13 lines
No EOL
539 B
JavaScript
13 lines
No EOL
539 B
JavaScript
/**
|
|
* @brief Load i18n file of datepicker
|
|
* @author MinSoo Kim <misol.kr@gmail.com>
|
|
**/
|
|
if(typeof current_lang !== "undefined" && current_lang !== 'en') {
|
|
jQuery.getScript(request_uri + "./common/js/plugins/ui/i18n/datepicker-"+ current_lang.replace("jp", "ja") +".js", function() {
|
|
var default_option = {
|
|
dateFormat:'yy-mm-dd'
|
|
};
|
|
jQuery.extend(jQuery.datepicker.regional[current_lang.replace("jp", "ja")],default_option);
|
|
jQuery.datepicker.setDefaults( jQuery.datepicker.regional[current_lang.replace("jp", "ja")] );
|
|
});
|
|
} |