[Zope] DateTime.now() as default date property ?
tom smith
tom@othermedia.com
Thu, 7 Nov 2002 20:20:20 +0000
When adding properties to a Zclass I'd like to have a date property
whose default value is now() but when I try to add the property I have
to supply a valid date string. Otherwise it errors
I don't want to enter a time as what I want the value to be is
ZopeTime.now()
How do I do it?
thanks
tom
--
tom smith
http://www.othermedia.com/blog/
0207 089 5959
3rd Floor, The Pavilion, Newham's Row, London SE1 3UZ