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/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bdb.prefix%7D%7D/day?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)