lttng / lttng-scope

A trace viewer and analyzer for LTTng kernel and user space traces
https://lttng.org/beta/#lttng-scope
Eclipse Public License 1.0
28 stars 6 forks source link

time control: Support other timestamp formats #35

Closed ghost closed 6 years ago

ghost commented 7 years ago

Currently the Time Control view only shows (and reads) timestamps in the "s.n" format. There should be a configuration option somewhere to allow displaying the timestamps in various formats, like:

Additionally, the text fields should be able to receive and parse any of these formats, no matter what output option is defined.

ghost commented 6 years ago

After a bit more discussion, it was decided that receiving (as in, getting pasted in) a timestamp should only accept the currently configured time format. This is to avoid confusion between formats that we have no way to differentiate programmatically, for example a hh:mm:ss.n format in GMT vs. local time.