From 86689e76e4fb0c8fb3e91b757882b60044bf2d8d Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 9 Feb 2024 11:16:43 +0100 Subject: Fixed missing rows in rolling chart --- activity.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activity.lua b/activity.lua index e0f6c07..398d2e8 100644 --- a/activity.lua +++ b/activity.lua @@ -34,7 +34,7 @@ function generate_rolling (lookup, format, date) end for index, weekday in pairs(weekdays) do - rows = rows .. format.label(weekday) + rows = rows .. format.start_row() .. format.label(weekday) for week=0,51 do rows = rows .. format.cell(level(lookup(year_and_day(52 - week, index)))) end @@ -43,7 +43,7 @@ function generate_rolling (lookup, format, date) else rows = rows .. format.spot() end - rows = rows .. "\n" + rows = rows .. format.end_row() end return format.start_document"Activity" .. format.start_table() .. rows .. format.end_table() .. format.end_document() end -- cgit v1.1