Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduler multiple timezones shows wrong times for certain timezones - React #510

Open
amitk7407 opened this issue Jan 11, 2023 · 0 comments

Comments

@amitk7407
Copy link

amitk7407 commented Jan 11, 2023

While using "multiple timezones" feature of Mobiscroll Scheduler, the time mapping for the timezones are not correct.
Eg ->
<Eventcalendar data={events} view={{ "schedule": { "type": "day", "size": 7, "allDay": false, "timezones": [ { "timezone": "Africa/Bangui", "label": "You UTC+01:00" }, { "timezone": "Pacific/Midway", "label": "Client UTC-11:00" } ] } }} </EventCalendar>

Here the UI is
bangui

But when I use,
<Eventcalendar data={events} view={{ "schedule": { "type": "day", "size": 7, "allDay": false, "timezones": [ { "timezone": "Africa/Algiers", "label": "You UTC+01:00" }, { "timezone": "Pacific/Midway", "label": "Client UTC-11:00" } ] } }} </EventCalendar>
then the UI is
algiers

Here, both the timezones are GMT+1 but if you compare the UIs, there is 1 hour shift in case of Africa/Algiers. This is happening for some other timezones as well.

Same issue with London timezone with view settings:
{ "schedule": { "type": "day", "size": 7, "allDay": false, "timezones": [ { "timezone": "Europe/London", "label": "You UTC+00:00" }, { "timezone": "Pacific/Midway", "label": "Client UTC-11:00" } ] } }
london

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants