search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

An Empty Scheduler Error

Asked by Anonymous
6 hours ago.

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

Answer posted by Dan Letecky [DayPilot]
6 hours ago.

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.

Comment posted by Anonymous
5 hours ago.

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

Comment posted by Anonymous
4 hours ago.

Can we for example say to register that en=en-gb etc.

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):