Skip to content

Add day-of-week and localized-date display options#2516

Open
teras wants to merge 1 commit into
sourcegit-scm:masterfrom
teras:day-of-week-option
Open

Add day-of-week and localized-date display options#2516
teras wants to merge 1 commit into
sourcegit-scm:masterfrom
teras:day-of-week-option

Conversation

@teras

@teras teras commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Why

Sometimes you need to see the weekday of a commit, not just the date — especially when reasoning about workdays, where knowing it was e.g. a Friday matters as much as the calendar date itself. The current display only shows the date.

Also, while the app interface can be localized, the date is always rendered in English, which doesn't help users running the app in their own language. It is preferable to let the date follow the user's language too, when they want it.

Both options are opt-in and were kept deliberately non-intrusive — placed where there is already space and where they make sense in Preferences.

What

Day of week — a dropdown in Preferences ▸ General (None / Short / Full) that prepends ddd/dddd to the active date format. Stored as DayOfWeekStyle; day names come from the active culture.

Localized dates — a toggle (UseLocalizedCulture) that ties day/month names to the application's selected language instead of the invariant/English culture. The culture is derived from the app locale key, not the OS culture.

Both flow through DateTimeFormat.Format and are bound into CommitTimeTextBlock and DateTimePresenter. New locale keys added to en_US and el_GR.

Two independent, opt-in additions to how dates are shown everywhere:

- Day of week: a dropdown in Preferences > General (None / Short / Full)
  that prepends ddd/dddd to the active date format. Stored as
  DayOfWeekStyle; day names come from the active culture.

- Localized dates: a toggle that ties day/month names to the
  application's selected language (UseLocalizedCulture) instead of the
  invariant/English culture. The culture is derived from the app locale
  key, not the operating-system culture.

Both options flow through DateTimeFormat.Format and are bound into the
CommitTimeTextBlock and DateTimePresenter views. New locale keys added to
en_US and el_GR.
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.

1 participant