[Zope-Checkins] CVS: Zope/lib/python/DateTime - DateTime.py:1.79.6.8

Christian Theune ct at gocept.com
Sat Jan 10 10:29:24 EST 2004


Update of /cvs-repository/Zope/lib/python/DateTime
In directory cvs.zope.org:/tmp/cvs-serv14886

Modified Files:
      Tag: Zope-2_6-branch
	DateTime.py 
Log Message:
 - reverting change that got in by mistake


=== Zope/lib/python/DateTime/DateTime.py 1.79.6.7 => 1.79.6.8 ===
--- Zope/lib/python/DateTime/DateTime.py:1.79.6.7	Sat Jan 10 10:19:48 2004
+++ Zope/lib/python/DateTime/DateTime.py	Sat Jan 10 10:29:23 2004
@@ -652,7 +652,7 @@
             elif type(arg) in [StringType,UnicodeType]:
                 # Date/time string
 
-                if arg.find(' ')==-1 and len(arg) > 4 and arg[4]=='-':
+                if arg.find(' ')==-1 and arg[4]=='-':
                     yr,mo,dy,hr,mn,sc,tz=self._parse_iso8601(arg)
                 else:
                     yr,mo,dy,hr,mn,sc,tz=self._parse(arg)




More information about the Zope-Checkins mailing list