can we drop the leading zero ![]()
It is a big improvement imo.
can we drop the leading zero ![]()
It is a big improvement imo.
Ah, I missed that you were talking about repeating events sorry!
So, I have worked on this task for a while, since the last week, I see it can be structured into three sections and one question:
00:00):
Mon, Oct 6 β Fri, Oct 10 || Mon, Oct 6 β Mon, Oct 20Mon, Oct 6 β Thu, Nov 6Mon, Oct 6 12:00 AM β 1:00 AMMon, Oct 6 β Tue, Jan 6, 2026Yesterday/Today/Tomorrow 8:00 PMMonday...SundayToday 2:00 PM β 4:00 PM (UTC). Question: in which cases do we want to show timezone in brackets?I have two related PRs:
https://github.com/discourse/discourse-calendar/pull/745
https://github.com/discourse/discourse/pull/33291
@nat, looping you in, since you worked on this feature years ago:
https://github.com/discourse/discourse/pull/18500
https://github.com/discourse/discourse/commit/1631394826e03073f99caa990811f261590d3257
In which cases we should show a timezone name in brackets after the from/to date/time?
What are the expectations to show: weekday name Monday...Sunday or Yesterday/Today/Tomorrow?
Iβd go with:
Yesterday/Today/Tomorrow: for -1 day<-Today->+1 dayMonday...Sunday: within current week or -3 days<-Today->+3 daysPresence of time should not be a decision factor of which of two options above to show, as it is now:
Monday...SundayYesterday/Today/TomorrowWe are ready to merge the first PR. It is not ideal, since fixing edge cases, listed in my previous post might follow.