Closed alistairking closed 4 months ago
Currently the datetime parsing code at https://github.com/CAIDA/pybgpstream/blob/e837264bd7481ff813acd3ac75cf5b123272479f/pybgpstream/pybgpstream.py#L101-L110 triggers an assertion if the given time is a float (as is the case when passing time.time()).
time.time()
@alistairking I added the support for floating number timestamps in PR #41, could you take a look?
Currently the datetime parsing code at https://github.com/CAIDA/pybgpstream/blob/e837264bd7481ff813acd3ac75cf5b123272479f/pybgpstream/pybgpstream.py#L101-L110 triggers an assertion if the given time is a float (as is the case when passing
time.time()
).