From 751c93d59c781cd90af18a16af5484552e3dc67d Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 20 Dec 2018 16:29:19 +0000 Subject: [PATCH] 'isonow' -> 'utcnow' --- modules/badges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/badges.py b/modules/badges.py index fb4055b9..9de86ef7 100644 --- a/modules/badges.py +++ b/modules/badges.py @@ -5,7 +5,7 @@ DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%SZ" class Module(ModuleManager.BaseModule): def _now(self): - return datetime.datetime.isonow() + return datetime.datetime.utcnow() def _format_datetime(self, dt: datetime.datetime): return datetime.datetime.strftime(dt, DATETIME_FORMAT) def _parse_datetime(self, dt: str):