Import external dateutil module

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
This commit is contained in:
James McCoy 2012-09-17 22:15:52 -04:00
parent cef93a6cfd
commit 198688eab4

View File

@ -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')