[Zope-Checkins] CVS: Zope/lib/python/DateTime - DateTime.py:1.82.8.7
Andreas Jung
andreas@andreas-jung.com
Wed, 22 Jan 2003 09:15:11 -0500
Update of /cvs-repository/Zope/lib/python/DateTime
In directory cvs.zope.org:/tmp/cvs-serv426/lib/python/DateTime
Modified Files:
Tag: ajung-european-datetime-support-branch
DateTime.py
Log Message:
docs updated
=== Zope/lib/python/DateTime/DateTime.py 1.82.8.6 => 1.82.8.7 ===
--- Zope/lib/python/DateTime/DateTime.py:1.82.8.6 Wed Jan 22 00:34:17 2003
+++ Zope/lib/python/DateTime/DateTime.py Wed Jan 22 09:15:08 2003
@@ -606,6 +606,13 @@
effect of this is as if you had taken the value of time.time()
at that time on a machine in the specified timezone).
+ New in Zope 2.7:
+ A new keyword parameter "datefmt" can be passed to the
+ constructor. If set to "international", the constructor
+ is forced to treat ambigious dates as "days before month
+ before year". This useful if you need to parse non-US
+ dates in a reliable way
+
In any case that a floating point number of seconds is given
or derived, it's rounded to the nearest millisecond.