[egenix-users] Leap seconds and mx.DateTime

M.-A. Lemburg mal at egenix.com
Mon Jan 9 18:21:14 CET 2012

Christian Marquardt wrote:
> Hello,
> on another topic - a while ago, we discovered a small inconsistency in the handling of leap seconds in mx.DateTime; some checks assume that a day is not longer than 86400 seconds, although of course on a day with a leap second this would be 86401 seconds.
> I've attached a patch (against the 3.2.2 dev version from another discussion thread) that has fixed the issue for us; maybe it or an improved version could make it's way into one of the next releases...

Thanks. We've added support for those values to the upcoming 3.2.2 version
as well.

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Jan 09 2012)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611

More information about the egenix-users mailing list