itamarst / eliot

Eliot: the logging system that tells you *why* it happened
https://eliot.readthedocs.io
Apache License 2.0
1.1k stars 66 forks source link

Support outputting times in local timezone in eliot-prettyprint #428

Closed sujit closed 5 years ago

sujit commented 5 years ago

Currently, eliot stores the event timestamps as per UTC which is great but when (as a custom requirement), someone wants to view the events based on the local machine's local time zone, eliot-tree or eliot module (_startaction) itself doesn't provide such functionalities from that aspect.

Needless to say, UTC timestamps are global and widely acceptable but sometimes due to some custom requirements, this option certainly helps.

If anything as such can be added to start-action or perhaps an additional command line parameter to eliot-tree itself, that would be great!

-Sujit

itamarst commented 5 years ago

Changing the output is probably better than changing what's stored. I opened separate issue for eliot-tree, and will focus this one on eliot-prettyprint.