From 8492818e8061fc9f4109073d53f24f781710885d Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 23 Sep 2002 07:27:23 +0000 Subject: [PATCH] bad RE git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1210 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/date.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roundup/date.py b/roundup/date.py index a016133..e320e47 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.30 2002-09-23 07:09:15 richard Exp $ +# $Id: date.py,v 1.31 2002-09-23 07:27:23 richard Exp $ __doc__ = """ Date, time and time interval handling. @@ -215,11 +215,11 @@ class Date: return str def set(self, spec, offset=0, date_re=re.compile(r''' - (((?P\d{4}-)?((?P\d\d?)-(?P\d\d?))?)? # yyyy-mm-dd + ((?P\d\d\d\d-)?((?P\d\d?)-(?P\d\d?))?)? # yyyy-mm-dd (?P\.)? # . (((?P\d?\d):(?P\d\d))?(:(?P\d\d))?)? # hh:mm:ss (?P.+)? # offset - ''', re.VERBOSE), serialised_re=re.compile(''' + ''', re.VERBOSE), serialised_re=re.compile(r''' (\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d) ''', re.VERBOSE)): ''' set the date to the value in spec -- 2.30.2