[ZCM] [ZC] 251/ 2 Comment "DateTime parsed wrong when using VHM."
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Wed, 27 Feb 2002 10:12:30 -0500
Issue #251 Update (Comment) "DateTime parsed wrong when using VHM."
Status Pending, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/251
==============================================================
= Comment - Entry #2 by magnus on Feb 27, 2002 10:12 am
I was a bit quick here. This is fixed in current cvs, Zope-2_5-branch, so I'm using that instead.
________________________________________
= Request - Entry #1 by magnus on Feb 27, 2002 9:29 am
> > form
> > start_usage 'range:min:max'
> > start [DateTime('2002/04/03'), DateTime('2002/04/03')]
> This interval is not large...
Thats the bug! Thanks!
Look at this:
WITH VHM,
http://golf.alvkarleby.net/vhm?start:list:date=2002-04-03%2000%3A00%3A00&
;start:list:date=2002-04-03%2023%3A59%3A59&start_usage=range:min:max
prints: start [DateTime('2002/04/03'), DateTime('2002/04/03')]
WITHOUT VHM,
http://golf.alvkarleby.net:8080/Golf/vhm?start:list:date=2002-04-03%2000%3A0
0%3A00&start:list:date=2002-04-03%2023%3A59%3A59&start_usage=range:m
in:max
it prints
start [DateTime('2002/04/03'), DateTime('2002/04/03 23:59:59 GMT+2')]
The time is lost when parsed through VHM.
This sure must be a bug??
(vhm is a external method that prints the request and calls
portal_catalog(REQUEST))
(I noticed the Evan checked in a fix for VHM yesterday, could that be
related?)
/Magnus
_______________________________________________
Zope-CMF maillist - Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf
See http://www.zope.org/Products/PTK/Tracker for bug reports and feature requests
==============================================================