Sat, 01 Feb 2025 15:42:48 +0100
fix missing leading zeros in date tooltip
src/html.cpp | file | annotate | diff | comparison | revisions |
--- a/src/html.cpp Sat Feb 01 15:06:48 2025 +0100 +++ b/src/html.cpp Sat Feb 01 15:42:48 2025 +0100 @@ -208,7 +208,7 @@ color_class = "commit-spam"; } indent(); - printf("<td class=\"%s\" title=\"%s, %d-%u-%u: %u commits\"></td>\n", + printf("<td class=\"%s\" title=\"%s, %d-%02u-%02u: %u commits\"></td>\n", color_class, weekdays[weekday(ymd).iso_encoding() - 1], static_cast<int>(ymd.year()),