]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
bracket in the wrong place
authorMike Cochrane <mikec@mikenz.geek.nz>
Tue, 8 Jul 2008 13:04:08 +0000 (09:04 -0400)
committerMike Cochrane <mikec@mikenz.geek.nz>
Tue, 8 Jul 2008 13:04:08 +0000 (09:04 -0400)
darcs-hash:20080708130408-533db-9e7fb996a7c37af9557f097d785a53ff77c7559f.gz

lib/util.php

index 925a078b650b825582da16f2ec16fb33bc1c91d2..f4245693fb8f7499dc22d5c952c3ee87068fe01a 100644 (file)
@@ -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) {