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 « J'aime »
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 « J'aime »
downey
(Michael Downey)
Mars 10, 2021, 10: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 « J'aime »
Falco
(Falco)
Mars 10, 2021, 11: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)
Mars 11, 2021, 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 « J'aime »
RGJ
(Richard - Communiteq)
Avril 14, 2021, 6: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'aime »
j.jaffeux
(Joffrey Jaffeux)
Avril 14, 2021, 6:08
7
Thanks for reporting, I know what issue it can be, will fix tomorrow unless @Osama beats me to it.
4 « J'aime »
Osama
Avril 15, 2021, 3:42
8
6 « J'aime »
eve
(Phú)
Juin 12, 2024, 10:35
9
Est-ce toujours possible en utilisant uniquement le plugin calendrier ?
Le README de ce composant dit :
OBSOLÈTE : Ce composant n’est plus nécessaire ; toutes les fonctionnalités ont été déplacées vers GitHub - discourse/discourse-calendar: Adds the ability to create a dynamic calendar in the first post of a topic.
Malheureusement, je n’arrive pas à comprendre comment configurer cette vue :
Hmm. Bonne idée. Il semble que nous n’ayons pas mis à jour la documentation sur ce point. Laissez-moi voir ce que je peux trouver.
@eve Après une petite exploration, il semble qu’il soit possible d’ajouter cela à un sujet en utilisant uniquement le plugin Calendar au format :
[timezones group="GROUP" size="big"]timezones[/timezones]
1 « J'aime »
eve
(Phú)
Juin 13, 2024, 8:34
12
Merci d’avoir jeté un coup d’œil !
[timezones group="GROUP" size="big"]timezones[/timezones]
Cela ne fonctionne pas dans notre instance. Mais d’une manière ou d’une autre, le format
[wrap=group-timezones group=project-x-team][/wrap]
mentionné dans le premier sujet fonctionne maintenant. Hier, rien ne s’affichait.
1 « J'aime »
Je suis content que ça fonctionne Bien que ce soit étrange que nous obtenions des résultats différents. Quelle version de Discourse utilisez-vous ?
eve
(Phú)
Juin 13, 2024, 9:47
14
Je fonctionne avec 3.3.0.beta3-dev ( f0539afb02 )