Our pure JavaScript Scheduler component


Post by gregc »

First off let me pass on how excited everyone is to see the new scheduler, they love it so much !

A question I have is how you determine the timezone offset from UTC and do you have a handy helper function I can call to ensure my custom editor displays times that are consistent with the schedule view?

thanks!

Last edited by gregc on Mon Mar 01, 2021 8:24 pm, edited 1 time in total.

Post by mats »

That's fantastic :)

You can determine TZ offset using the native Date getTimezoneOffset method:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getTimezoneOffset

and do you have a handy helper function I can call to ensure my custom editor displays times that are consistent with the schedule view?

Unfortunately not, but we have a ticket open to add support for different time zone!


Post Reply