[Zope-dev] Converters.py field2date() and :ignore_empty
Brad Clements
bkc@murkworks.com
Tue, 12 Dec 2000 10:33:27 -0500
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, bkc@murkworks.com (315)268-1000
http://www.murkworks.com (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com AOL-IM: BKClements