问题
I'm trying to get a Hebrew Calendar on JQueryUI Datepicker. For some reason, it always stays in English.
This is my code:
$.datepicker.setDefaults( $.datepicker.regional[ "" ] );
$( ".calendar_date" ).datepicker( $.datepicker.regional[ "he" ] );
Thanks!
回答1:
Have you downloaded and included in your page the localized calendar? You can find it and download it from here - check the source of the page, the Hebrew Calendar is this. You should download and include this js in your page.
来源:https://stackoverflow.com/questions/6888452/jquery-ui-datepicker-localization