If a Scheduler has no events we keep getting the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'datePattern')
Any idea what this means? Thanks
datePattern is a property of DayPilot.Locale. You might want to check the locale value - it must be either a DayPilot.Locale object or a string identifier of a registered locale.
datePattern
DayPilot.Locale
You are absolutely right.
However, in international apps there is the possibility of have just say en as opposed to en-us or en-gb.
Is there any way of registering additional locales?
Thanks
Can we for example say to register that en=en-gb etc.