Thanks for going into detail @gwmngilfen, itās very useful. As you say, this is a question of getting the display right. Iāll look at your use case either tomorrow or the day after.
This is fixed. cc @Francois_Douville
Thanks for going into detail @gwmngilfen, itās very useful. As you say, this is a question of getting the display right. Iāll look at your use case either tomorrow or the day after.
This is fixed. cc @Francois_Douville
iCal Feed
The ical feed should now be fully timezone aware.
Picking the timezone to display an event in
I donāt think this assumption holds for every case.
Iāve made the use of event timezones to display events a setting: events timezone event
(default on).
The updated timezone display logic is now:
Start with the userās timezone
If there is a default timezone set use that instead.
If there is an event timezone and the setting events timezone event
is on, use the event timezone.
So, in your case turn the setting events timezone event
off.
Note that regardless of the setting, in the composer and the add event modal, the event timezone (if one exists) will always be used.
Seems to work just fine. I use the feature on my forum with no issues.
Thanks for the fast turnaround @angus, excellent support as ever.
However, this seems to have forced all events to the calendar timezone, rather than the user viewing the calendar. Setting that flag to off makes the calendar look right for me (as Iām the admin, I have the same timezone as the forum), but if I impersonate a user in another timezone (or just change the timezone on my laptop), the event is still wrong (although at least theyāre all consistently wrong now ) - the event shows at 15:00 even for a user in the GMT-5 timezone.
What I was hoping for is to display events in the users timezone - is that possible, or going to cause mayhem? I donāt see a timezone setting under a userās prefs, so I guess itād have to be the browser environment?
Hi @angus,
I hope you are well, thanks for the great plugin developpment. Just this little bug is that since 2 days the currently Upgrading status is not moving. I cannot stop it. Any idea ?
Many thanks
Sounds like youāre talking about events timezone default
?
If you have that set, it will override the localisation to the userās timezone:
In other words, if both events timezone default
and events timezone event
are disabled, the event will be localised according to the timezone of the user.
Hereās an example from my sandbox:
hm. I havenāt come across this issue before. I upgrade my sandbox via docker/upgrade
each time I push updates for this plugin. It could be an issue unrelated to the events plugin, but letās assume it is for now.
Do you see anything at https://yoursite.com/admin/upgrade#/upgrade/discourse_events?
Are you able to ssh into your server and rebuild the container?
Thatās where Iām going wrong. Seems to be working now - thanks!
Iām having problems getting events created in other categories to also appear in the events category.
Should they sync this way so that an event can relate to a particular category, but also be found in a collective events category that covers all categories?
Please link this reply if already covered elsewhere - I did search but found nothing.
Each category calendar will only show you events from that category.
However, thereās a site-level calendar at yoursite.com/calendar
which will include events from all categories.
You can add a link to the site-level calendar:
By adding ācalendarā to the top menu
site setting. This will add a āCalendarā button to the navigation buttons for the non-category topic lists.
By turning the setting events hamburger menu calendar link
on. This will add a āCalendarā link to the hamburger menu.
Thanks for this reply.
I think have created ācalendarā in the top menu site setting. Although I canāt see it appear and returning to it, it isnāt saved and wonāt let me create:
I canāt find this?
Inputting URL mysite.com/calendar return error message that the page doesnāt exist or is private.
Could you type āeventsā into the site setting search take a screenshot of the results and paste it here?
Also please post a screenshot of yoursite.com/admin/plugins and yoursite.com/calendar.
Hi @angus
I come back to you because i tried to :
and still on the below screen shot when i click on the reset upgrade button it doesnāt answer
Do a full rebuild from the command line and then click reset upgrade. We fixed this issue.
@sam, yep, sorted, it is fixed.
Many thanks, iām greatfull
Hi!
Is it possible to provide a link to a .ics file containing all events in a specific forum? I know how to get individual .ics files for individual eventsā¦ but an aggregated file containing all events?
That could be a cool feature for communities! Instead of adding events to the own private calendar one-by-one, this would enable users to show the community calendar based on discourse events directly in their own application along with google calendars etc.
Thank you for the great work with this plug-in!
@angus Iām not 100% sure event timezones are respecting DST changes, sadly. Compare these shots from Discourse and from my terminalā¦
So may laptop is in Europe/London and systemctl knows thatās currently GMT+1, but Discourse doesnāt seem to know that in either the creation or display. Right now Iām creating events in GMT explicitly and subtracting an hour in my head, so I can be sure I get it right. Am I again missing a setting, or is this a bug? Thanks!
I think what may be confusing you is the timezone label. Itās not clear to me from your post that the time is actually incorrect.
Behind the scenes the IANA label, i.e. `Europe/London``, is always used to format the actual timed displayed. The choice about what to put in the timezone label however comes down to the formatting method of the timezone label.
Could you try turning the events timezone rails format
setting off?
Hey there again. Once again - thank you so much for this amazing plugin, i was waiting for such thing for a loooooong time.
Iāve been asking for making it able to require user to add event date in topic in event-enabled category some time ago in this topic but it seems to be forgotten/lost. Or it was completely removed from the roadmap.
Maybe iām gonna provide some background on why is such thing pretty important in my (and i think not just in mine) situation - people are adding events without the dates (because they are lazy or non-perceptive, not sure) and the events are then not presented on the agenda page of my Events
category (which is a completely reasonable behaviour). As this category is all about the events, i want the Agenda page to be the default one so iāve set up that like this.
Result of this is a lot of events without dates added + people asking why their event is not visible when they visit the Events
category. I need to respond to each one of them about the agenda and event dates things + i need to edit all the events by myself to add the missing dates.
Itās more like these users issue than the plugin issue but still, i think a good UX practice would be to make it able to force them to add the datetime. It would cut the confusion step caused by the fact that their event is not visible in the default Agenda
page for Events
category.
Thanks in advance!
Sorry for the delay, I didnāt see that setting and had to schedule time for an upgrade
You are correct, itās the label I was concerned about, the time is correct - and yes, unchecking that setting seems to have worked. Thanks!