aboutsummaryrefslogtreecommitdiff
path: root/modules/github/__init__.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-17 14:15:40 +0000
committerGravatar jesopo2019-02-17 14:15:40 +0000
commitcb0314da67458cf93baaa865b7846f826d522722 (patch)
tree6c79fc60666de1d4486771700cf4bf9bad6e51dd /modules/github/__init__.py
parentLink to a better resource that explains how to get custom search api key and ID (diff)
signature
Put a helper function in utils to do iso8601 formatting. change IRCServer's
last-read setting to use it.
Diffstat (limited to 'modules/github/__init__.py')
-rw-r--r--modules/github/__init__.py2
1 files changed, 1 insertions, 1 deletions
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"]