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

Support displaying timestamps in UTC vs local time #68

Closed ghost closed 6 years ago

ghost commented 6 years ago

Right now all formatted timestamps are displayed as UTC (GMT timezone). We should add an option, enabled by default, to use the user's local timezone, with the possibility to switch back to UTC.

Note this option is separate from the timestamp formatting, BUT it is only applicable to hh:mm:ss formats and such. If the s.ns format is selected, then the timezone option is not applicable and should be grayed-out.

ghost commented 6 years ago

I've let the Local <-> UTC option enabled even when s.ns is selected. It won't affect the current display, but will apply immediately once the user switches back to another timestamp format.