diff -r 127fb6a8f706 -r d869ff924c19 src/main.cpp --- a/src/main.cpp Sat Feb 01 14:04:19 2025 +0100 +++ b/src/main.cpp Sat Feb 01 14:11:46 2025 +0100 @@ -228,8 +228,7 @@ unsigned column = 0, row = 0; // initialize first day (which must be a Monday, possibly the year before) - chrono::sys_days day_to_check{report_begin}; - day_to_check -= chrono::days{chrono::weekday{day_to_check}.iso_encoding() - 1}; + chrono::sys_days day_to_check = chrono::January / chrono::Monday[1] / chrono::year{year}; // remember the starting point auto start = day_to_check;