If I have ignore_empty set in a variable name of type date, field2date() 
fails if the returned value is truly empty.

I think field2date() should return None rather than trying to call DateTime 
with an empty string.

I keep making this patch to each Zope release, but would like to talk 
about a more permanant and "correct" solution. What do others think?



Brad Clements,                [EMAIL PROTECTED]   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com               AOL-IM: BKClements

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to