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

Lennart Regebro lennart@torped.se
Mon, 18 Mar 2002 21:30:22 +0100


From: "Brian Lloyd" <brian@zope.com>

> I propose that we could add a new "field type" with a name
> like optional_date. The converter handler for that type could
> handle an empty field in whatever way we feel is reasonable,
> without breaking existing applications. (Let the fight over
> "reasonable" begin! :^)

That's fine by me. And reasonable would be '', since otherwise it really
isn't optional. :-) OK, I could accept that None would work too, but ''
*has* to work. You can't force end-users to enter magick cookies.

I'd also be interested on you take on issue #171, returning empty lists...