Our pure JavaScript Scheduler component


Post by mikemcs »

I am correcting in understanding that getDateConstraints only accepts Dates and not Timestamps? Is there a way to say 3/20/24 7:00:00 for a start?

https://bryntum.com/products/scheduler/docs/api/Scheduler/view/SchedulerBase#config-getDateConstraints


Post by ghulam.ghous »

Hi mikemcs,

Yes it has to be a date object. It does not accept strings/timestamps. Btw if you want to pass a time along with the date, you can do something like this:

start : new Date(2022, 11, 3, 9)

This will make sure that start date constraint sets at 9 am on the given date.

Hope it helps!

Regards,
Ghous


Post Reply