From 1a081ff83f7ea590c5155b76b4e8ae0f2fcca805 Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 7 Jun 2023 20:23:41 +0200 Subject: [PATCH] Include 31 days so the final day gets the text label in the chart. --- source/cli/run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/cli/run.rs b/source/cli/run.rs index 6a380cd..71ba333 100644 --- a/source/cli/run.rs +++ b/source/cli/run.rs @@ -112,7 +112,7 @@ pub async fn run() -> Result<()> { for group in &groups { UserCountChart { - groups: GroupDataModel::get_n_most_recent(&db, 30, &group.name) + groups: GroupDataModel::get_n_most_recent(&db, 31, &group.name) .await?, } .render(&output, &group.name, true)