From: Christian Heller Date: Sun, 9 Jun 2024 02:06:58 +0000 (+0200) Subject: Extend default date range to full year. X-Git-Url: https://plomlompom.com/repos/%22https:/validator.w3.org/edit?a=commitdiff_plain;h=19f308751a3e651296d8ef9f87059279fad6267b;p=plomtask Extend default date range to full year. --- 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)