amprolla

devuan's apt repo merger
git clone git://parazyd.org/amprolla.git
Log | Files | Refs | README | LICENSE

commit 7c32db96981f1271c8941a55ed384256113305ff
parent ba4cba3037ca32d3a46a06d3ddea099c67607a98
Author: parazyd <parazyd@dyne.org>
Date:   Sat,  9 Dec 2017 16:19:50 +0100

Fix strptime parsing bug

Diffstat:
Mlib/parse.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/parse.py b/lib/parse.py @@ -13,8 +13,8 @@ def get_time(date): """ if not date: # hardcode if something's amiss - date = 'Sun, 29 Oct 2017 10:00:00 +0200' - return mktime(strptime(date, "%a, %d %b %Y %H:%M:%S %Z")) + date = 'Sun, 29 Oct 2017 10:00:00 UTC' + return mktime(strptime(date, '%a, %d %b %Y %H:%M:%S %Z')) def get_date(relfile):