On Saturday 15 October 2005 01:24, Andreas Jung wrote:

> If you speak of DateTime instances then you should be able to write
> to two-line testcase that shows the issue with a standard Zope
> installation.
> If you can provide such a testcase we are able to look at it in detail.

########
date = context.testQuery()[0]['date']
print date
print date.ISO()
print date.strftime('%m/%d/%Y')
return
########

gives

########
2005/10/14
2005-10-14 00:00:00
10/13/2005
########

By the way, this is with Zope 2.7.7 and Python 2.3.5 on a FreeBSD 5-STABLE 
server (if that makes any difference).
-- 
Kirk Strauser
The Day Companies
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to