diff options
author | Christian Persch <chpe@src.gnome.org> | 2022-05-27 18:55:12 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2022-05-27 18:55:12 +0200 |
commit | cc7bd0a80bb69a1d15138323d3485d5f51669e79 (patch) | |
tree | a72d9d1ccb655a0333511f4f975e2e7ae13125c6 /src | |
parent | ef25319fb814b3f719013e490bc6ece165e8d2df (diff) | |
download | gnome-terminal-cc7bd0a80bb69a1d15138323d3485d5f51669e79.tar.gz |
util: Show timestamps in the local timezone
Fixes: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/7904
Diffstat (limited to 'src')
-rw-r--r-- | src/terminal-util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal-util.cc b/src/terminal-util.cc index f1be9b26..b581cbe4 100644 --- a/src/terminal-util.cc +++ b/src/terminal-util.cc @@ -1073,7 +1073,7 @@ terminal_util_timestamp_info (const char *str) if (num < 1000000000 || num > 1999999999) return nullptr; - gs_unref_date_time GDateTime* date = g_date_time_new_from_unix_utc (num); + gs_unref_date_time GDateTime* date = g_date_time_new_from_unix_local (num); if (date == nullptr) return nullptr; |