This theme component has been deprecated and its functionality is now included in the Discourse Calendar (and Event) plugin
Features
This is useful for people using Discourse with a remote and distributed team to work on projects.
Usage
This plugin relies on the timezone field of a User being set. This field is available at the moment only when using discourse-calendar , so you need to have this plugin to use this component.
[wrap=group-timezones group=project-x-team][/wrap]
group is mandatory
size is optional and accepts: small, medium, large, auto
Settings
Name
Description
working day start hour
When the working day starts
working day end hour
When the working day ends
close to working day hours extension
How many hours around start/end working hours are acceptable if urgent to get in contact with someone
working days
Which days of the week are worked
Translation
Default
search
Search…
group_availability
%{group} availability
32 个赞
That’s a co-incidence @j.jaffeux because I was playing around with a visualisation for timezone overlap recently:
Hey, I created a little javascript widget to visualise each of our working days against eachother. I can add more people, but have included a few examples. Just wondering where to put this? Ideas? Hate it?: NB It sorts, with people sent to the...
Reading time: 1 mins 🕑
Likes: 14 ❤
Love it, thanks!
14 个赞
downey
(Michael Downey)
2021 年3 月 10 日 22:40
3
Hi there! Does this theme component still work and/or is it still supported, or fully deprecated in favor of the calendar plugin? I tried using the markup in a topic with and without the calendar plugin enabled, but got a blank rendering each time.
Trying to tell if there’s still an existing (simple) way to display this TZ slider or something close to it.
1 个赞
Falco
(Falco)
2021 年3 月 10 日 23:06
4
I think that is because the calendar plugin is a hard requirement?
But since that I think we moved the timezone user field to core… So it may need an update to work with that.
j.jaffeux
(Joffrey Jaffeux)
2021 年3 月 11 日 10:09
5
Yes it’s inside calendar I think now right, I should deprecate this. Forgot about it as I didnt do the move.
2 个赞
RGJ
(Richard - Communiteq)
2021 年4 月 14 日 18:07
6
This theme component seems to break on 2.7.0.beta7 with
Uncaught Error: Could not find module `discourse/lib/round-time` imported from `discourse/theme-72/widgets/discourse-group-timezones`
3 个赞
j.jaffeux
(Joffrey Jaffeux)
2021 年4 月 14 日 18:08
7
Thanks for reporting, I know what issue it can be, will fix tomorrow unless @Osama beats me to it.
4 个赞
Osama
2021 年4 月 15 日 03:42
8
6 个赞
eve
(Phú)
2024 年6 月 12 日 10:35
9
嗯。说得好。看来我们可能还没有就这一点更新文档。我来看看我能查到什么。\n\n***\n\n@eve 经过一番探索,似乎可以使用日历插件,并采用以下格式将此添加到主题中:\n\n\n[timezones group=\"GROUP\" size=\"big\"]timezones[/timezones]\n
1 个赞
eve
(Phú)
2024 年6 月 13 日 08:34
12
感谢您的查看!
[timezones group="GROUP" size="big"]timezones[/timezones]
这在我们的实例中不起作用。但是,第一个主题中提到的以下格式
[wrap=group-timezones group=project-x-team][/wrap]
现在可以正常工作了。昨天什么都没有显示。
1 个赞
很高兴它能正常工作 不过我们得到不同的结果很奇怪。您正在使用哪个版本的 Discourse?
eve
(Phú)
2024 年6 月 13 日 09:47
14
我正在运行 3.3.0.beta3-dev (f0539afb02 )