Closed Thor77 closed 7 years ago
Additionally last seen time is shown relative with this PR:
Would it be possible to have a choice between relative and absolute times?
Would it be possible to have a choice between relative and absolute times?
Yeah, definitely. Thanks for the suggestion, will implement that!
Done. @djmattyg007 What do you think is a good default for this? Keep it at absolute until the next major release to avoid unexpected behaviour?
Merged as 65a83792615d6aafdd1f26494e0d083b028741fd and edff1e956d6255d28b1709227d436a30ea2c6755
Pendulum provides a more convenient replacement for
datetime
. Using it would eliminate thetz_aware_timestamp
-hack and implementing the UTC-timezone for Python 2 compatibility.Drawback:
~0,5
seconds slower than the old implementation (at least for big log collections).