[ZCM] [ZC] 2316/ 4 Accept "Dates shown incorrectly on browse tab for indexes in the ZMI"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Fri, 27 Apr 2007 04:03:26 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2316 Update (Accept) "Dates shown incorrectly on browse tab for indexes in the ZMI" Status Accepted, Zope/bug low To followup, visit: http://www.zope.org/Collectors/Zope/2316 ============================================================== = Accept - Entry #4 by mj on Apr 27, 2007 4:03 am Status: Pending => Accepted Supporters added: mj Whoops, don't shoot before you look. I see the problem, the dates are indeed whoefully out of range. ________________________________________ = 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 ==============================================================