[Zope-Checkins] CVS: Zope/lib/python/DateTime - DateTime.py:1.82.8.3
Andreas Jung
andreas@andreas-jung.com
Tue, 3 Dec 2002 09:54:25 -0500
Update of /cvs-repository/Zope/lib/python/DateTime
In directory cvs.zope.org:/tmp/cvs-serv32685
Modified Files:
Tag: ajung-european-datetime-support-branch
DateTime.py
Log Message:
ENFORCED_DATETIME_FORMAT -> DATETIME_FORMAT
=== Zope/lib/python/DateTime/DateTime.py 1.82.8.2 => 1.82.8.3 ===
--- Zope/lib/python/DateTime/DateTime.py:1.82.8.2 Sat Nov 30 04:01:00 2002
+++ Zope/lib/python/DateTime/DateTime.py Tue Dec 3 09:54:24 2002
@@ -23,9 +23,9 @@
except: tzname=('UNKNOWN','UNKNOWN')
-_default_datefmt = os.environ.get('ENFORCED_DATETIME_FORMAT', 'us').lower()
+_default_datefmt = os.environ.get('DATETIME_FORMAT', 'us').lower()
if not _default_datefmt in ('us', 'international'):
- raise ValueError, "ENFORCED_DATETIME_FORMAT must be either 'us' or 'international'"
+ raise ValueError, "DATETIME_FORMAT must be either 'us' or 'international'"
# To control rounding errors, we round system time to the nearest
# millisecond. Then delicate calculations can rely on that the