Tue, 18 Feb 2025 18:37:33 +0100
fix off-by-one colspan for January - fixes #586
src/html.cpp | file | annotate | diff | comparison | revisions |
--- a/src/html.cpp Tue Feb 18 18:30:47 2025 +0100 +++ b/src/html.cpp Tue Feb 18 18:37:33 2025 +0100 @@ -150,10 +150,6 @@ { unsigned total_cols = 0; sys_days day{year_month_day{y, January, 1d}}; - if (weekday{day}.iso_encoding() != 1) { - colspans[0] = 1; - total_cols = 1; - } for (unsigned col = 0; col < 12; ++col) { while (total_cols < html::columns && year_month_day{day}.month() <= month{col + 1}) { ++total_cols;