Skip to content

Fix calendar#6155

Merged
xet7 merged 4 commits intowekan:mainfrom
KhaoulaMaleh:updates
Feb 19, 2026
Merged

Fix calendar#6155
xet7 merged 4 commits intowekan:mainfrom
KhaoulaMaleh:updates

Conversation

@KhaoulaMaleh
Copy link
Contributor

Summary

Fix the calendar view time formatting in boardBody.js to use standard AM/PM notation
instead of confusing single-letter abbreviations (like "a"/"p" or locale-specific symbols
such as 上/下/中 in CJK locales).

Changes

1. Fix hour notation

  • Updated the FullCalendar time format configuration in boardBody.js to use
    non-localized h:mma format (e.g., "2:30PM" instead of "2:30p")
  • This prevents confusing time labels for users in non-Latin locales

2. Add complete time format coverage

  • Added explicit format overrides for all FullCalendar time display contexts:
    • extraSmallTimeFormat: h(:mm)a
    • smallTimeFormat: h(:mm)a
    • mediumTimeFormat: h:mma
    • hourFormat: ha
    • noMeridiemTimeFormat: h:mm
  • Ensures consistent AM/PM display across all calendar views
    (day, week, agenda, etc.)

Testing

  • Verified calendar renders times with full "am"/"pm" labels
  • Tested across day, week, and agenda views
  • Confirmed no regression in calendar event display

Related issues
closes #6054

@xet7 xet7 merged commit 5be23f6 into wekan:main Feb 19, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The due date hour notation in the Calendar board view is not intuitive in Traditional Chinese(Taiwan) locale

2 participants