[zope2-tracker] [Bug 727981] Re: Browse DateIndex Broken for edge cases, displays wrong date

Jim Baack 727981 at bugs.launchpad.net
Fri Dec 2 05:00:35 UTC 2011


Elizabeth-

Thanks for posting - I just ran into the bug too, saw a few very old
posts about it and am surprised it isn't yet fixed. I think this version
may be slightly more accurate.

Jim

            <dtml-var "DateTime(((_['sequence-key'] - 44640) / 535680),
                                ((_['sequence-key'] - 1440) / 44640 ) % 12 or 12,
                                (_['sequence-key'] / 1440  ) % 31 or 31,
                                (_['sequence-key'] / 60    ) % 24,
                                (_['sequence-key']         ) % 60,
                                0, 'UTC')">

-- 
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/727981

Title:
  Browse DateIndex Broken for edge cases, displays wrong date

To manage notifications about this bug go to:
https://bugs.launchpad.net/zope2/+bug/727981/+subscriptions


More information about the zope2-tracker mailing list