[Zope3-checkins] CVS: Zope3/src/zope/app/schemagen - typereg.py:1.3
Tim Peters
tim.one@comcast.net
Wed, 8 Jan 2003 15:19:02 -0500
Update of /cvs-repository/Zope3/src/zope/app/schemagen
In directory cvs.zope.org:/tmp/cvs-serv7272/src/zope/app/schemagen
Modified Files:
typereg.py
Log Message:
Collapsing datetime and datetimetz into datetime, and time and timetz
into time, as discussed on Zope3-Dev.
=== Zope3/src/zope/app/schemagen/typereg.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/schemagen/typereg.py:1.2 Wed Dec 25 09:13:14 2002
+++ Zope3/src/zope/app/schemagen/typereg.py Wed Jan 8 15:18:29 2003
@@ -69,14 +69,12 @@
def getTypes():
import datetime
- # XXX not supporting tz or timedelta yet
+ # XXX not supporting timedelta yet
return [
datetime.date,
datetime.datetime,
- # datetime.datetimetz,
datetime.time,
# datetime.timedelta,
- # datetime.timetz
]
getTypes = staticmethod(getTypes)