[ZCM] [ZC] 2316/ 3 Resubmit "Dates shown incorrectly on browse tab for indexes in the ZMI"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri Apr 27 03:46:51 EDT 2007


Issue #2316 Update (Resubmit) "Dates shown incorrectly on browse tab for indexes in the ZMI"
 Status Pending, Zope/bug low
To followup, visit:
  http://www.zope.org/Collectors/Zope/2316

==============================================================
= Resubmit - Entry #3 by ajung on Apr 27, 2007 3:46 am

 Status: Wontfix => Pending

The conversion does not explain why there is a difference of some years, see output.
________________________________________
= Wontfix - Entry #2 by mj on Apr 27, 2007 3:43 am

 Status: Pending => Wontfix

This is an artefact of how DateIndex indexes dates; dates are converted to UTC, then converted to an integer by taking the year, month, hour and minutes values, discarding the seconds. In other words, timezone information is not stored and thus cannot be displayed.
________________________________________
= Request - Entry #1 by nitesh on Apr 27, 2007 3:28 am

When browsing a DateIndex in the ZMI, the dates shown are incorrect.  
Index searching works correctly, only the display of the dates is incorrect.

Examples:
2007/04/13 13:00:00 GMT+1 shown as 2004/01/28 16:32:00 GMT
2007/04/04 18:00:00 GMT+1 shown as 2004/01/28 13:05:00 GMT
2007/04/11 09:27:42.041 GMT+1 shown as 2004/01/28 15:44:27 GMT
2007/05/11 10:00:00 GMT+1 shown as 2004/01/29 04:09:00 GMT
==============================================================



More information about the Zope-Collector-Monitor mailing list