aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/e-datetime-format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-datetime-format.c b/e-util/e-datetime-format.c
index a277e93fdb..11e7fb2707 100644
--- a/e-util/e-datetime-format.c
+++ b/e-util/e-datetime-format.c
@@ -200,6 +200,8 @@ format_relative_date (time_t tvalue, time_t ttoday, const struct tm *value, cons
if (diff < 0)
future = TRUE;
+ diff = ABS (diff);
+
if (diff <= 1) {
if (future)
res = g_strdup (_("Tomorrow"));