aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-05-31 13:18:26 +0200
committerfiaxh <git@lightrise.org>2019-06-22 00:56:50 +0200
commit68ab977287d30b942e7c1668052af015dd102d5b (patch)
tree8c93bb6f992769f36c91b4cfafd44f1254f263f8 /main
parent23a298dc4b5645c12f2478d3d82bb20f38374c2c (diff)
downloaddino-68ab977287d30b942e7c1668052af015dd102d5b.tar.gz
dino-68ab977287d30b942e7c1668052af015dd102d5b.zip
Fix time in conversation row
Diffstat (limited to 'main')
-rw-r--r--main/src/ui/conversation_selector/conversation_selector_row.vala2
1 files changed, 1 insertions, 1 deletions
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();