latex-yearly-planner
latex-yearly-planner copied to clipboard
Week numbering with Sunday start of week
The numbering of the week does not change when using Sunday as the start of the week resulting in behavior such as in March in the image below. Any time there is a week consisting of just a Sunday on a monthly calendar it uses the previous week value instead of the next week as one would expect. This is also represented on the daily page for that date.
@TK0343 oh I see. Yes, it makes sense to change the week number there.
The reason it happens now is the week number is based on ISO week numbering. Sunday still belongs to week 13, and as there are no more days in the given week, the algorithm picks up the only available day in the week and gets its week number.
Thank you for the report, I'll look into it.