AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

[Feature Request]: Allow changing the first day of the week in Journals

Open TheDevMinerTV opened this issue 7 months ago • 2 comments

Description

The bar in the top of the journal view starts on Sunday, which is incorrect in a lot of countries. This is also true for the calendar in the sidebar. For example in Germany, the first day of the week is Monday.

Please add a per-user setting to change it.

Use case

Makes AFFiNE integrate better into other cultures.

Anything else?

The bar would need to be adjusted in this component: https://github.com/toeverything/AFFiNE/blob/canary/packages/frontend/component/src/ui/date-picker/week-date-picker.tsx#L37 The date picker lib seems to support changing the week start day: https://daypicker.dev/api/interfaces/PropsBase#weekstartson

Are you willing to submit a PR?

  • [x] Yes I'd like to help by submitting a PR!

TheDevMinerTV avatar May 24 '25 22:05 TheDevMinerTV

Issue Status: 🆕 *Untriaged

*🆕 Untriaged

The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

affine-issue-bot[bot] avatar May 24 '25 22:05 affine-issue-bot[bot]

That's very reasonable; we'll definitely consider that optimization.

hwangdev97 avatar May 29 '25 07:05 hwangdev97

Please do it!! It makes me confused to have the week starting on sunday! :)

riccardoaran avatar Aug 23 '25 21:08 riccardoaran