From 67921b1c1871e881f71f8f15aa7fc9c2b11da64d Mon Sep 17 00:00:00 2001 From: Mike Cochrane Date: Tue, 8 Jul 2008 09:04:08 -0400 Subject: [PATCH] bracket in the wrong place darcs-hash:20080708130408-533db-9e7fb996a7c37af9557f097d785a53ff77c7559f.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {