aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaZderMind2015-12-30 19:52:08 +0100
committerMaZderMind2015-12-30 19:52:08 +0100
commit2b934d63f318db93d5acbd9c6782c130a0f42f54 (patch)
tree835090174ffdf6447f2d366f9eaf6335fd29a9b3 /lib
parent3ef4f8d82a5875f702b48e1717c5af1d2e8d12f1 (diff)
fix sign for days-ago-countdown
Diffstat (limited to 'lib')
-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";