local timezone

Hi. I have 2 doubts
1.I need to display local timezone in lightbox how?
2.while creating event in calendar its automatically updating utc server. why its not updating in local time. scheduler could show data only in the current timezone of browser isnt.
provide the solution

Hello,

  1. Do you mean you want to put a timezone description in lightbox header?
    If so, you can retreive required value from Date.toString result and format it as needed:
    developer.mozilla.org/en-US/doc … e/toString
    Sample:

docs.dhtmlx.com/scheduler/snippet/4be59128

  1. The client-side always uses the local timezone. You may want to use this property, so the client would expect server-side data come in UTC and apply local timezone to it (and convert local times to UTC before sending it back to the server)

docs.dhtmlx.com/scheduler/api__s … onfig.html

But after enabling scheduler.config.server_utc = true; I dint able to create the event for two days.
for example, i am creating event from today to tomorrow, but after saving that event the end date is automatically changing to today date. why…
how to fix this.

Hello,

Please, share with the demo-link, where the problem can be reproduced.
For example, if you set this config to the sample from previous message, it will be possible to create event lasting more then one day.