Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update first day logic for months starting on Sunday #3896

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

RoccoSmit
Copy link
Contributor

Settings the start day of the week to Monday causes the memo calendar to display incorrectly

Memos
image

System calendar
image

This seems to only be an issue for months where the first day is on a Sunday

Calendar after update, the start day now matches up even when the first day of the month is a Sunday e.g. Sep 2024 and Dec 2024:

Sep 2024
Memos
image

System calendar
image

Oct 2024
Memos
image

System calendar
image

Nov 2024
Memos
image

System calendar
image

Dec 2024
Memos
image

System calendar
image

@boojack boojack changed the title fix: Update first day logic for months starting on Sunday fix: update first day logic for months starting on Sunday Sep 9, 2024
@boojack boojack merged commit f695e93 into usememos:main Sep 9, 2024
1 of 2 checks passed
@RoccoSmit RoccoSmit deleted the monday-start-of-week-fix branch September 9, 2024 02:42
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.

2 participants