hinnerk / py-tai64

A simple UTC => TAI converter and hex-encoded TAI (as used by DJBDNS) => UTC datetime.datetime decoder.
BSD 3-Clause "New" or "Revised" License
16 stars 7 forks source link

Remove zero-padding of months #7

Closed kseistrup closed 5 years ago

kseistrup commented 7 years ago

The pull-request removes the zero-padding of months in conversion_table so that they're perceived as radix 10 by both Python 2 and Python 3.

Whitespace from otherwise blank lines has been removed.

The final L from the constant 4611686018427387904L has been removed so that the number also also works in Python 3 (but probably not in Python 2 earlier than 2.4 (PEP-0237)).

hinnerk commented 5 years ago

Changes merged via #9