mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-26 21:11:12 -05: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
|
import time
|
||||||
TIME = time # For later use.
|
TIME = time # For later use.
|
||||||
|
|
||||||
|
from dateutil import parser
|
||||||
|
|
||||||
import supybot.conf as conf
|
import supybot.conf as conf
|
||||||
import supybot.utils as utils
|
import supybot.utils as utils
|
||||||
from supybot.commands import *
|
from supybot.commands import *
|
||||||
import supybot.callbacks as callbacks
|
import supybot.callbacks as callbacks
|
||||||
|
|
||||||
parser = utils.python.universalImport('dateutil.parser', 'local.dateutil.parser')
|
|
||||||
|
|
||||||
def parse(s):
|
def parse(s):
|
||||||
todo = []
|
todo = []
|
||||||
s = s.replace('noon', '12:00')
|
s = s.replace('noon', '12:00')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user