DayPilot.Locale Constructor

Declaration

DayPilot.Locale(id, properties);

Example

var localeUS = new DayPilot.Locale(
  'en-us', 
  {
    dayNames:['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],
    dayNamesShort:['Su','Mo','Tu','We','Th','Fr','Sa'],
    monthNames:['January','February','March','April','May','June','July','August','September','October','November','December',''],
    timePattern:'h:mm tt',
    datePattern:'M/d/yyyy',
    dateTimePattern:'M/d/yyyy h:mm tt',
    timeFormat:'Clock12Hours'
  }
);