home
·
contact
·
privacy
projects
/
plomtask
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a9178b
)
Extend default date range to full year.
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 9 Jun 2024 02:06:58 +0000
(
04:06
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 9 Jun 2024 02:06:58 +0000
(
04:06
+0200)
plomtask/http.py
patch
|
blob
|
history
diff --git
a/plomtask/http.py
b/plomtask/http.py
index cf8a8290ab35046124fc1db6f42418af7b42aea0..87f600a73c03f55bb3bb51cfbb3d79444d3b687e 100644
(file)
--- 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)