aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_summary
diff options
context:
space:
mode:
authorbobufa <bobufa@users.noreply.github.com>2018-07-10 00:31:39 +0200
committerbobufa <bobufa@users.noreply.github.com>2018-08-13 22:31:22 +0200
commit61915ca56617e8f45ae8bd85cb87f0b8a9a895b0 (patch)
tree2fd35772c1d1145852f36e0baed6fafc0a73a517 /main/src/ui/conversation_summary
parent8b23ddad2d33a1504cd28c0df583dfe50cadccda (diff)
downloaddino-61915ca56617e8f45ae8bd85cb87f0b8a9a895b0.tar.gz
dino-61915ca56617e8f45ae8bd85cb87f0b8a9a895b0.zip
initial search logic / display
Diffstat (limited to 'main/src/ui/conversation_summary')
-rw-r--r--main/src/ui/conversation_summary/conversation_item_skeleton.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/conversation_summary/conversation_item_skeleton.vala b/main/src/ui/conversation_summary/conversation_item_skeleton.vala
index a8da93ef..a4e45f7a 100644
--- a/main/src/ui/conversation_summary/conversation_item_skeleton.vala
+++ b/main/src/ui/conversation_summary/conversation_item_skeleton.vala
@@ -176,7 +176,7 @@ public class DefaultSkeletonHeader : Box {
return datetime.format(format);
}
- public virtual string get_relative_time(DateTime datetime) {
+ public static string get_relative_time(DateTime datetime) {
DateTime now = new DateTime.now_local();
TimeSpan timespan = now.difference(datetime);
if (timespan > 365 * TimeSpan.DAY) {