From 19f308751a3e651296d8ef9f87059279fad6267b Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 9 Jun 2024 04:06:58 +0200 Subject: [PATCH 1/1] Extend default date range to full year. --- plomtask/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plomtask/http.py b/plomtask/http.py index cf8a829..87f600a 100644 --- a/plomtask/http.py +++ b/plomtask/http.py @@ -123,7 +123,7 @@ class TaskHandler(BaseHTTPRequestHandler): start = self.params.get_str('start') end = self.params.get_str('end') if not end: - end = date_in_n_days(60) + end = date_in_n_days(366) ret = Day.by_date_range_with_limits(self.conn, (start, end), 'id') days, start, end = ret days = Day.with_filled_gaps(days, start, end) -- 2.30.2