mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
fix for date formatting issue (#3693)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user