How To: Set the region for datetime in jQuery

The sample demonstrates how to set the region for jQuery

If the region is 'de'

Use the below code, and use reference to de region script  

$.localise('js/jquery.datepick', 'de');

$('#datepicker').datepick('option', $.datepick.regional['de']);

$.datepick.setDefaults($.datepick.regional[''])

Sample

Other region formats in below link

Date picker regions

No Comments