vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views

Home Page:https://vkurko.github.io/calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is is possible to lock the nowindicator to UTC or diffrent timezone?

tbbw opened this issue · comments

commented

Is it possible to lock the nowIndicator after a diffrent timezone than the browsers own timezone?

Example of use cases would be if i travel abroad or we as a team stick with a UTC timezone if we work in diffrent timezones?
Since 5pm "here" is not 5pm "there" kind of thing.

Hello,

Event Calendar does not currently support any time zones. Namely, a setting indicating the time zone would be useful in this case. FullCalendar also has a now setting, which is considered by some users to be a setting that should also affect the position of the now indicator. Perhaps the Event Calendar needs to implement exactly this behavior.

commented

Interesting so i'm not the only one that wished this was a thing.

My thought was if the nowindicator had a timezone option where if it's unset it defaults to the browsers timezone like it is now but if it's set you can specify a spesific timezone that you wish it would use.
This way it would not break compability with something people already made and in use.

Yes, the time zone setting is, in my opinion, the most suitable option for this case. This timeZone option is available in FullCalendar. Perhaps the time has come to implement it in the Event Calendar and initially so that it affects only the now indicator.

commented

This would be a good first step.

commented

Is this on the roadmap or still in it needs more thought?

Unfortunately, there is no roadmap yet. I haven't been able to devote enough time to the project in recent months. I hope to have that time in the coming months and implement some new features.