From cb0314da67458cf93baaa865b7846f826d522722 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 17 Feb 2019 14:15:40 +0000 Subject: Put a helper function in utils to do iso8601 formatting. change IRCServer's last-read setting to use it. --- modules/github/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/github/__init__.py') diff --git a/modules/github/__init__.py b/modules/github/__init__.py index abb561e4..8046b50e 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -380,7 +380,7 @@ class Module(ModuleManager.BaseModule): return url def _iso8601(self, s): - return datetime.datetime.strptime(s, utils.ISO8601_FORMAT) + return datetime.datetime.strptime(s, utils.ISO8601_PARSE) def ping(self, data): return ["Received new webhook"] -- cgit v1.3.1-10-gc9f91