aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_selector/conversation_row.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/conversation_selector/conversation_row.vala')
-rw-r--r--main/src/ui/conversation_selector/conversation_row.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/conversation_selector/conversation_row.vala b/main/src/ui/conversation_selector/conversation_row.vala
index d9432583..ec00349b 100644
--- a/main/src/ui/conversation_selector/conversation_row.vala
+++ b/main/src/ui/conversation_selector/conversation_row.vala
@@ -56,7 +56,7 @@ public abstract class ConversationRow : ListBoxRow {
Entities.Message? message = stream_interactor.get_module(MessageStorage.IDENTITY).get_last_message(conversation);
if (message != null) {
update_message(message.body.replace("\n", " "));
- update_time(message.time.to_utc());
+ update_time(message.time);
}
}
@@ -89,7 +89,7 @@ public abstract class ConversationRow : ListBoxRow {
time = new_time;
}
if (time != null) {
- time_label.label = get_relative_time(time);
+ time_label.label = get_relative_time(time.to_local());
}
}