fix for date formatting issue (#3693)

This commit is contained in:
sam-io authored and Paulus Schoutsen committed 2016-10-04 08:41:39 -07:00
1 parent 2cf49f3de6
commit 85782f9c29
1 file changed
+1 -1
@@ -104,7 +104,7 @@ class EmailReader:
self.connection.select()
if len(self._unread_ids) == 0:
search = "SINCE {0:%d-%b-%y}".format(datetime.date.today())
search = "SINCE {0:%d-%b-%Y}".format(datetime.date.today())
if self._last_id is not None:
search = "UID {}:*".format(self._last_id)