[ZCM] [ZC] 190/ 3 Reject "DateTime object with January, 1st, 1970"

Collector: Zope Bugs and Patches ... zope-coders@zope.org
Mon, 04 Feb 2002 08:25:35 -0500


Issue #190 Update (Reject) "DateTime object with January, 1st, 1970"
 Status Rejected, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/190

==============================================================
= Reject - Entry #3 by ajung on Feb 4, 2002 8:25 am

 Status: Accepted => Rejected

Inside DTML the following works as expected:

<dtml-var "_.DateTime(1970,1,1)">

- aj 


________________________________________
= Assign - Entry #2 by ajung on Feb 4, 2002 8:25 am

 Status: Pending => Accepted

 Supporters added: ajung


________________________________________
= Request - Entry #1 by Anonymous User on Feb 1, 2002 4:48 am

The DTML "DateTime" object is not able to handle the special date January 1st, 1970.

For example, calling DateTime(1970,1,1) raises an error "IOError: [Errno 22] Invalid argument]
==============================================================