[Zope-dev] Collector issue #30: Empty dates

Lennart Regebro lennart@torped.se
Tue, 19 Mar 2002 17:20:01 +0100


From: "Brian Lloyd" <brian@zope.com>
> Sure. The property forms just need to do the equivalent
> of:
>
> <dtml-if theDate>
> <dtml-var theDate fmt="somthing">
> </dtml-if>
>
> I know that this is a style issue to some

Yeah, it's not the most neat solution. But it works...

So, to summarize:

The new field type, optional_date accepts empty strings as input which
results in the optional_date being set to None.

All happy?