# HG changeset patch # User Mike Becker # Date 1739985252 -3600 # Node ID d75805c1e3b9773283c2b56c279ab2c105eb35a3 # Parent cc9d74d5eb46651be50d127fdb2ce0e4e142958d fix "1 commits" fixes #601 diff -r cc9d74d5eb46 -r d75805c1e3b9 src/html.cpp --- a/src/html.cpp Wed Feb 19 18:12:10 2025 +0100 +++ b/src/html.cpp Wed Feb 19 18:14:12 2025 +0100 @@ -213,11 +213,12 @@ color_class = "commit-spam"; } indent(); - printf("\n", + printf("\n", color_class, weekdays[weekday(ymd).iso_encoding() - 1], static_cast(ymd.year()), static_cast(ymd.month()), static_cast(ymd.day()), - commits); + commits, + commits == 1 ? "commit" : "commits"); }