Re: Leap seconds and mx.DateTime

"M.-A. Lemburg" <[email protected]> Mon, 09 Jan 2012 18:21:14 +0100
Newsgroups gmane.comp.python.egenix.user
Organization eGenix.com Software GmbH; http://www.egenix.com/
Message-ID <[email protected]>
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
eGenix.com

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
               http://www.egenix.com/company/contact/


_______________________________________________________________________
eGenix.com User Mailing List                     http://www.egenix.com/
https://www.egenix.com/mailman/listinfo/egenix-users