From 68ab977287d30b942e7c1668052af015dd102d5b Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 31 May 2019 13:18:26 +0200 Subject: Fix time in conversation row --- main/src/ui/conversation_selector/conversation_selector_row.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/ui/conversation_selector') diff --git a/main/src/ui/conversation_selector/conversation_selector_row.vala b/main/src/ui/conversation_selector/conversation_selector_row.vala index a1f0e706..37b8ebde 100644 --- a/main/src/ui/conversation_selector/conversation_selector_row.vala +++ b/main/src/ui/conversation_selector/conversation_selector_row.vala @@ -249,7 +249,7 @@ public class ConversationSelectorRow : ListBoxRow { } private static string get_relative_time(DateTime datetime) { - DateTime now = new DateTime.now_utc(); + DateTime now = new DateTime.now_local(); TimeSpan timespan = now.difference(datetime); if (timespan > 365 * TimeSpan.DAY) { return datetime.get_year().to_string(); -- cgit v1.2.3-70-g09d2