مناطق زمنية الجماعة

:warning: This theme component has been deprecated and its functionality is now included in the Discourse Calendar (and Event) plugin

:discourse2: Summary Group Timezones can help you display people of a group in a timezone ordered list. It will also show who is on holiday/week-end/out of working hours.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-group-timezones
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Features

This is useful for people using Discourse with a remote and distributed team to work on projects.

Usage

:warning: 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:

Love it, thanks!

14 إعجابًا

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)

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.

Yes it’s inside calendar I think now right, I should deprecate this. Forgot about it as I didnt do the move.

إعجابَين (2)

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 إعجابات

Thanks for reporting, I know what issue it can be, will fix tomorrow unless @Osama beats me to it.

4 إعجابات

Fixed in:

https://github.com/discourse/discourse-group-timezones/commit/3c82f4b6c04bafc6536d129130d8a097a83a1e26

Thanks for letting us know!

6 إعجابات

هل هذا لا يزال ممكناً باستخدام المكون الإضافي للتقويم فقط؟
يقول ملف README لهذا المكون:

تم إيقاف هذا المكون؛ تم نقل جميع الوظائف إلى GitHub - discourse/discourse-calendar: Adds the ability to create a dynamic calendar in the first post of a topic.

للأسف، لا يمكنني معرفة كيفية إعداد هذا العرض:

همم. اقتراح جيد. يبدو أننا لم نقم بتحديث المستندات بشأن هذه النقطة. دعني أرى ما يمكنني اكتشافه.


@eve بعد استكشاف قصير، يبدو أنه يمكن إضافة هذا إلى موضوع باستخدام المكون الإضافي للتقويم فقط باستخدام التنسيق:

[timezones group="GROUP" size="big"]timezones[/timezones]
إعجاب واحد (1)

شكراً لإلقائك نظرة!

[timezones group="GROUP" size="big"]timezones[/timezones]

هذا لا يعمل في مثيلنا. ولكن بطريقة ما التنسيق

[wrap=group-timezones group=project-x-team][/wrap]

المذكور في الموضوع الأول يعمل الآن. بالأمس لم يظهر شيء. :person_shrugging:

إعجاب واحد (1)

يسعدني أن الأمر يعمل :slight_smile: على الرغم من أنه من الغريب أننا نحصل على نتائج مختلفة. ما هو إصدار Discourse الذي تستخدمه؟

أنا أعمل بالإصدار 3.3.0.beta3-dev ( f0539afb02 )