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

Andreas Jung andreas@andreas-jung.com
Thu, 17 Jul 2003 15:06:49 -0400


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

Modified Files:
	DateTime.py 
Log Message:
-added test/fix for international dates in format DD/MM/YYYY  


=== Zope/lib/python/DateTime/DateTime.py 1.85 => 1.86 ===
--- Zope/lib/python/DateTime/DateTime.py:1.85	Wed Jan 22 09:23:15 2003
+++ Zope/lib/python/DateTime/DateTime.py	Thu Jul 17 15:06:12 2003
@@ -960,7 +960,7 @@
             raise self.SyntaxError, st
 
         day=None
-        if ints[-1] > 60 and d not in ['.',':'] and len(ints) > 2:
+        if ints[-1] > 60 and d not in ['.',':','/'] and len(ints) > 2:
             year=ints[-1]
             del ints[-1]
             if month: