# HG changeset patch # User Mike Becker # Date 1739900253 -3600 # Node ID 0b3a92df96db71e32f8d9afd43ea89715855b4a8 # Parent b8d6b14c1555378102f699bacb6abaed3a2e8003 fix off-by-one colspan for January - fixes #586 diff -r b8d6b14c1555 -r 0b3a92df96db src/html.cpp --- 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;