pakerwreah / Calendr

Menu bar calendar for macOS
MIT License
1.15k stars 53 forks source link

Wrong week numbers when first weekday is different from macOS #208

Closed pakerwreah closed 3 months ago

pakerwreah commented 3 months ago

Problem

The calendar might show the wrong week numbers if the first weekday setting is different from macOS.

Example

If you're in the UK region, but your Calendr has the first weekday as Sunday, you will see the first week of 2024 as 52 instead of 1, and every following week will have the wrong number.

Now that we have this configurable in the app (since v1.10.9), we should update the internal calendar with that value, so it can calculate the weeks consistently.