[Zope] Urgent: Date properties

Dieter Maurer dieter@handshake.de
Mon, 8 Jul 2002 20:54:16 +0200


Thierry Florac writes:
 > How can I handle a product property of "date" type which can handle null
 > values and updatable through ZMI ??
 > Do I have to use a "string" property, converted internally to a "date"
 > property ???
Yes, or change the "field2date" converter in "ZPublisher.Converters".

Be careful, though. Some code may expect a valid DateTime object.
The ZMI "manage_propertiesForm" is almost surely an example...


Dieter