summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Cochrane <mikec@mikenz.geek.nz>2008-07-08 09:04:08 -0400
committerMike Cochrane <mikec@mikenz.geek.nz>2008-07-08 09:04:08 -0400
commit67921b1c1871e881f71f8f15aa7fc9c2b11da64d (patch)
tree6cbbe8d490eb494faa69ea19ce154fc243b8b6ac
parent4d65b99c68fee83fe461b9d8d6db86a844f2a431 (diff)
bracket in the wrong place
darcs-hash:20080708130408-533db-9e7fb996a7c37af9557f097d785a53ff77c7559f.gz
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 925a078b6..f4245693f 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -826,7 +826,7 @@ function common_date_string($dt) {
} else if ($diff < 37 * 3600) {
return _('about a day ago');
} else if ($diff < 24 * 24 * 3600) {
- return sprintf(_('about %d days ago', round($diff/(24*3600))));
+ return sprintf(_('about %d days ago'), round($diff/(24*3600)));
} else if ($diff < 46 * 24 * 3600) {
return _('about a month ago');
} else if ($diff < 330 * 24 * 3600) {