[Feature Request]: Allow changing the first day of the week in Journals
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!
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.
That's very reasonable; we'll definitely consider that optimization.
Please do it!! It makes me confused to have the week starting on sunday! :)