From: Mike Cochrane Date: Tue, 8 Jul 2008 13:04:08 +0000 (-0400) Subject: bracket in the wrong place X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=67921b1c1871e881f71f8f15aa7fc9c2b11da64d;p=quix0rs-gnu-social.git bracket in the wrong place darcs-hash:20080708130408-533db-9e7fb996a7c37af9557f097d785a53ff77c7559f.gz --- diff --git a/lib/util.php b/lib/util.php index 925a078b65..f4245693fb 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) {