From 2adbb9799be27db1b6a6ad9c1355584533f7938c Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 10 Oct 2002 08:24:37 +0000 Subject: [PATCH] be able to parse b0rken Interval serialisation git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1339 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/date.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roundup/date.py b/roundup/date.py index d279fdf..d074064 100644 --- a/roundup/date.py +++ b/roundup/date.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: date.py,v 1.33 2002-10-10 07:18:02 richard Exp $ +# $Id: date.py,v 1.34 2002-10-10 08:24:37 richard Exp $ __doc__ = """ Date, time and time interval handling. @@ -362,7 +362,7 @@ class Interval: \s*((?P\d+\s*)d)? # day \s*(((?P\d+):(?P\d+))?(:(?P\d+))?)? # time \s*''', re.VERBOSE), serialised_re=re.compile(''' - (?P[+-])(?P\d{4})(?P\d{2})(?P\d{2}) + (?P[+-])?1?(?P([ ]{3}\d|\d{4}))(?P\d{2})(?P\d{2}) (?P\d{2})(?P\d{2})(?P\d{2})''', re.VERBOSE)): ''' set the date to the value in spec ''' -- 2.30.2