diff options
author | MaZderMind | 2015-12-30 19:52:08 +0100 |
---|---|---|
committer | MaZderMind | 2015-12-30 19:52:08 +0100 |
commit | 2b934d63f318db93d5acbd9c6782c130a0f42f54 (patch) | |
tree | 835090174ffdf6447f2d366f9eaf6335fd29a9b3 /lib | |
parent | 3ef4f8d82a5875f702b48e1717c5af1d2e8d12f1 (diff) |
fix sign for days-ago-countdown
Diffstat (limited to '')
-rw-r--r-- | lib/helper.php | 2 |
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"; |