[Zope] Datefields

Joel Burton joel@joelburton.com
Mon, 11 Mar 2002 18:28:12 -0500 (EST)


On Mon, 11 Mar 2002, Tim Hawes wrote:

> ZPsycoPG returns datefields from postgress in yyyy/mm/dd format, while
> postgres' default is yyyy-mm-dd. I need to pass a date to python script
> for comparison w/ other datefields, but Zope apparently will not allow
> values to be passed with '/'s in them. Can I change the way ZPsycoPG is
> returning the date fields in the database? How?

Zope has no problem with passing a string like "2001/01/01" to a Python
Script. Why do you think that Zope will apparently not allow values to be
passed with "/" in them?

-- 

Joel BURTON  |  joel@joelburton.com  |  joelburton.com  |  aim: wjoelburton
Independent Knowledge Management Consultant