britram / python-ipfix

IPFIX implementation for Python 3.x
GNU Lesser General Public License v3.0
40 stars 20 forks source link

NTP-based times are based on wrong epoch #14

Closed md5i closed 6 years ago

md5i commented 9 years ago

NTP times are incorrectly being based with Jan 1, 1970 as the epoch date, instead of Jan 1, 1900. 1970 is correct for datetimeSeconds and datetimeMilliseconds, but incorrect for datetimeMicroseconds and datetimeNanoseconds.

britram commented 6 years ago

merged PR for inclusion in upcoming 0.9.8