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 20
Mon, Oct 6 → Thu, Nov 6
Mon, Oct 6 12:00 AM → 1:00 AM
Mon, Oct 6 → Tue, Jan 6, 2026
Yesterday/Today/Tomorrow 8:00 PM
Monday...Sunday
Today 2:00 PM → 4:00 PM (UTC)
. Question: in which cases do we want to show timezone in brackets?I have two related PRs:
@nat, looping you in, since you worked on this feature years ago:
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 day
Monday...Sunday
: within current week or -3 days<-Today->+3 days
Presence of time should not be a decision factor of which of two options above to show, as it is now:
Monday...Sunday
Yesterday/Today/Tomorrow
We are ready to merge the first PR. It is not ideal, since fixing edge cases, listed in my previous post might follow.
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Show timezone/locale on event dates/times, and show admins how it is determined | 0 | 201 | February 15, 2024 | |
Events Plugin :calendar: | 854 | 86544 | March 30, 2025 | |
Date line should be human-readable in mails | 21 | 508 | May 29, 2025 | |
Discourse Calendar (and Event) | 81 | 52239 | July 16, 2025 | |
Discourse local dates need better presentation in emails | 12 | 2205 | November 19, 2019 |