Calendar settings: chevrons alone, weekday names short or full, the first day of the week #859

Closed
opened 2026-10-10 16:01:28 +00:00 by tiagoagueda · 1 comment
Owner

Three settings in Appearance for the calendar: the period buttons show their labels or only the chevrons; weekday headings abbreviated or in full; and the first day of the week.

What exists today

  • Weekday names are abbreviated (agenda.py:650, formats.date_format(…, "D"); the week view's headings calendar.html:302); day and agenda use the full name.
  • The first day of the week is the locale's (reports.week_start, applications/reports.py:70-81, FIRST_DAY_OF_WEEK from config/formats/<locale>/), used by the calendar and the reports. No per-person setting; the Language and time page holds language and time zone only (accounts/forms.py:1441-1446).
  • Adding a setting: the nav_underline path (model field, migration, form, template, context processor, export and import lists).

What would change

  • Profile.calendar_labels (boolean), weekday_names (short, long), first_weekday (blank = the language's, or 0–6); week_start takes the person's choice, so the week, the month grid and the reports agree.

Decisions

  • Where. Recommended: labels and weekday names in Appearance; the first day of the week on Language and time, beside the language whose default it overrides.
  • Narrow screens keep the abbreviation whatever the setting. Recommended.

Checked against main at 8c3d03570. From the maintainer's improvements list of 2026-10-07.

Three settings in Appearance for the calendar: the period buttons show their labels or only the chevrons; weekday headings abbreviated or in full; and the first day of the week. ## What exists today - Weekday names are abbreviated (`agenda.py:650`, `formats.date_format(…, "D")`; the week view's headings `calendar.html:302`); day and agenda use the full name. - The first day of the week is the locale's (`reports.week_start`, `applications/reports.py:70-81`, `FIRST_DAY_OF_WEEK` from `config/formats/<locale>/`), used by the calendar **and** the reports. No per-person setting; the *Language and time* page holds language and time zone only (`accounts/forms.py:1441-1446`). - Adding a setting: the `nav_underline` path (model field, migration, form, template, context processor, export and import lists). ## What would change - `Profile.calendar_labels` (boolean), `weekday_names` (`short`, `long`), `first_weekday` (blank = the language's, or 0–6); `week_start` takes the person's choice, so the week, the month grid and the reports agree. ## Decisions - **Where.** Recommended: labels and weekday names in Appearance; the first day of the week on *Language and time*, beside the language whose default it overrides. - **Narrow screens** keep the abbreviation whatever the setting. Recommended. Checked against `main` at `8c3d03570`. From the maintainer's improvements list of 2026-10-07.
tiagoagueda added this to the 0.6.0 milestone 2026-10-10 16:01:28 +00:00
Author
Owner

Fixed in 0d71f10c7 on main.

Fixed in 0d71f10c7 on main.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo#859
No description provided.