diff options
author | Marvin W <git@larma.de> | 2023-02-07 20:10:17 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2023-02-07 20:23:52 +0100 |
commit | 116682e311edca6665a0497c8b225b4fe69859a7 (patch) | |
tree | b9a9de7e705c3fec2fda528c2b8b2529486201fc /main/src/ui/conversation_content_view/call_widget.vala | |
parent | 32ae87a3c4cebaa05e0e702d744900cd414000db (diff) | |
download | dino-116682e311edca6665a0497c8b225b4fe69859a7.tar.gz dino-116682e311edca6665a0497c8b225b4fe69859a7.zip |
Fix various date/time stamps not updated or wrong time zone
Diffstat (limited to 'main/src/ui/conversation_content_view/call_widget.vala')
-rw-r--r-- | main/src/ui/conversation_content_view/call_widget.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/conversation_content_view/call_widget.vala b/main/src/ui/conversation_content_view/call_widget.vala index df4b7386..4f7e2953 100644 --- a/main/src/ui/conversation_content_view/call_widget.vala +++ b/main/src/ui/conversation_content_view/call_widget.vala @@ -175,7 +175,7 @@ namespace Dino.Ui { case Call.State.ENDED: image.set_from_icon_name("dino-phone-hangup-symbolic"); title_label.label = _("Call ended"); - string formated_end = Util.format_time(call.end_time, _("%H∶%M"), _("%l∶%M %p")); + string formated_end = Util.format_time(call.end_time.to_local(), _("%H∶%M"), _("%l∶%M %p")); string duration = get_duration_string(call.end_time.difference(call.local_time)); subtitle_label.label = _("Ended at %s").printf(formated_end) + " · " + |