aboutsummaryrefslogtreecommitdiff
path: root/lib/helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/helper.php b/lib/helper.php
index c23d211..170d224 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -93,7 +93,7 @@ function days_diff_readable($date)
return round(-$days / 30)." months ago";
if($days < 0)
- return "$days days ago";
+ return (-$days)." days ago";
if($days > 60)
return 'in '.round($days / 30)." months";