[egenix-users] Leap seconds and mx.DateTime

Christian Marquardt christian at marquardt.sc
Thu Jan 5 01:25:46 CET 2012


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 a lot,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: egenix-mx-base-3.2.2-leapsecondrange.patch
Type: text/x-patch
Size: 2441 bytes
Desc: not available
Url : /mailman-archives/egenix-users/attachments/20120105/69c500bc/egenix-mx-base-3.2.2-leapsecondrange.bin

More information about the egenix-users mailing list