summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhur Garg <madhurgarg96@gmail.com>2019-07-13 00:16:29 +0530
committerMadhur Garg <madhurgarg96@gmail.com>2019-08-22 00:54:25 +0530
commit0c22a856269b2a4c8ed014a2fb328b80c32a73d1 (patch)
tree3a52bfb630460f82a0cc39f291620e3696b68f22
parent8470e5251685cf8bc388d5ef9661b55950d2037a (diff)
downloadpoezio-0c22a856269b2a4c8ed014a2fb328b80c32a73d1.tar.gz
poezio-0c22a856269b2a4c8ed014a2fb328b80c32a73d1.tar.bz2
poezio-0c22a856269b2a4c8ed014a2fb328b80c32a73d1.tar.xz
poezio-0c22a856269b2a4c8ed014a2fb328b80c32a73d1.zip
Changed default start date of the query to be 360 days before current date.
-rw-r--r--poezio/mam.py2
1 files changed, 1 insertions, 1 deletions
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