From 0c22a856269b2a4c8ed014a2fb328b80c32a73d1 Mon Sep 17 00:00:00 2001 From: Madhur Garg Date: Sat, 13 Jul 2019 00:16:29 +0530 Subject: Changed default start date of the query to be 360 days before current date. --- poezio/mam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poezio/mam.py b/poezio/mam.py index 7716e851..21917c8e 100644 --- a/poezio/mam.py +++ b/poezio/mam.py @@ -90,7 +90,7 @@ def mam_scroll(self): end = end + timedelta(seconds=-1) end = datetime.strftime(end, '%Y-%m-%dT%H:%M:%SZ') start = datetime.strptime(end, '%Y-%m-%dT%H:%M:%SZ') - start = start + timedelta(days=-10) + start = start + timedelta(days=-360) start = datetime.strftime(start, '%Y-%m-%dT%H:%M:%SZ') top = True pos = self.text_win.pos -- cgit v1.2.3