From 991a0f7860972e7b42dbb979d2975fd797d26150 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 20 Aug 2020 13:08:36 +0200 Subject: [PATCH] Do not return empty string for future times --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 81bfbf1..9c6f6d1 100644 --- a/app.py +++ b/app.py @@ -41,7 +41,7 @@ def humanize_ts(time): day_diff = diff.days if day_diff < 0: - return '' + return 'in the future' if day_diff == 0: if second_diff < 10: -- 2.39.2