Skip to content

Commit

Permalink
fix: logger now display local time
Browse files Browse the repository at this point in the history
  • Loading branch information
Ark2000 committed Feb 23, 2024
1 parent 477c949 commit 835a05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/panku_console/modules/native_logger/logger_view.gd
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func update_view():
s = "[b](%d)[/b] %s" % [log["count"], s]
# add timestamp prefix
if _module.show_timestamp:
var time_str := Time.get_time_string_from_unix_time(log["timestamp"])
var time_str := Time.get_time_string_from_unix_time(log["timestamp"] + Time.get_time_zone_from_system()['bias'] * 60)
s = "[color=#a0a0a0][%s][/color] %s" % [time_str, s]
result.append(s)

Expand Down

0 comments on commit 835a05c

Please sign in to comment.