mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Import external dateutil module
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
This commit is contained in:
parent
cef93a6cfd
commit
198688eab4
@ -30,13 +30,13 @@
|
||||
import time
|
||||
TIME = time # For later use.
|
||||
|
||||
from dateutil import parser
|
||||
|
||||
import supybot.conf as conf
|
||||
import supybot.utils as utils
|
||||
from supybot.commands import *
|
||||
import supybot.callbacks as callbacks
|
||||
|
||||
parser = utils.python.universalImport('dateutil.parser', 'local.dateutil.parser')
|
||||
|
||||
def parse(s):
|
||||
todo = []
|
||||
s = s.replace('noon', '12:00')
|
||||
|
Loading…
Reference in New Issue
Block a user