🌍 New Calendar Feature: Show Local Time

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:

  1. Avoid duplications and noisiness in from → to ranges:
    • current year, no times (00:00):
      • same week/month range: Mon, Oct 6 → Fri, Oct 10 || Mon, Oct 6 → Mon, Oct 20
      • different months range: Mon, Oct 6 → Thu, Nov 6
    • current year, with times:
      • same day range: Mon, Oct 6 12:00 AM → 1:00 AM
    • different years, no times: Mon, Oct 6 → Tue, Jan 6, 2026
  2. Show local time based on checked checkbox (in OP)
  3. I observed some inconsistencies, when we display dates within range two days before and one day after today:
    • with time: Yesterday/Today/Tomorrow 8:00 PM
    • without time: Monday...Sunday
  4. Sometimes timezone is shown in the end of datetime: Today 2:00 PM → 4:00 PM (UTC). Question: in which cases do we want to show timezone in brackets?
1 Like