From 779c258e2797d3dbcaf9eb5f4c7636b4d76ff0e7 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sun, 12 Aug 2012 22:35:42 -0700 Subject: Fix ISO date parsing fallback. Closes issue #194 --- sleekxmpp/thirdparty/mini_dateutil.py | 53 +++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 24 deletions(-) (limited to 'sleekxmpp') diff --git a/sleekxmpp/thirdparty/mini_dateutil.py b/sleekxmpp/thirdparty/mini_dateutil.py index d0d3f2ea..93f26312 100644 --- a/sleekxmpp/thirdparty/mini_dateutil.py +++ b/sleekxmpp/thirdparty/mini_dateutil.py @@ -166,32 +166,34 @@ except: (?P[0-9]{2})?(?P=ymdsep)? (?P [0-9]{2})? - (?: # time part... optional... at least hour must be specified - (?:T|\s+)? - (?P[0-9]{2}) - (?: - # minutes, separated with :, or none, from hours - (?P[:]?) - (?P[0-9]{2}) + (?P