Format timestamp as localtime
Hi,
In my original patch at https://bugzilla.gnome.org/show_bug.cgi?id=757540, I implemented a feature that right-clicking on a 10-digit number interprets it as a Unix timestamp and formats it as human-readable local time.
The goal was to conveniently convert a machine-readable piece of information into a human-readable one.
While upstreaming this feature in 59886f9e, during refactoring, not sure if intentionally or accidentally, the formatting changed to UTC. This, to me, goes against the purpose of the change, since a UTC timestamp is nowhere near as human-readable as a localtime.
Could you please change back to localtime? sed -i s,utc,local, src/terminal-util.cc
If someone wishes to see UTC, they can run gnome-terminal with TZ=UTC
; after all, this is the very purpose of this environment variable.
Mind you, chances are I'm the sole user of this feature (and I do use it regularly). What do you think of enabling it by default, to reach more people? Anyone who doesn't like it can disable in dconf.
Or, at least, add a description to the context-info
field in the gschema setting, so that users who open up the hood at least can see what the available options are. :)
Thanks!