src/main.cpp

changeset 7
d0f77dd2da42
parent 6
1040ba37d4c9
child 8
6a2e20a4a8ff
--- a/src/main.cpp	Fri Jan 31 22:27:28 2025 +0100
+++ b/src/main.cpp	Fri Jan 31 22:48:43 2025 +0100
@@ -245,9 +245,9 @@
                     // get the entry from the heatmap
                     auto find_result = entries.find(day_to_check);
                     if (find_result == entries.end()) {
-                        html::cell(0);
+                        html::cell(day_to_check, 0);
                     } else {
-                        html::cell(find_result->second);
+                        html::cell(day_to_check, find_result->second);
                     }
                     // advance seven days and one column
                     day_to_check += chrono::days{7};

mercurial