bracket in the wrong place
darcs-hash:20080708130408-533db-9e7fb996a7c37af9557f097d785a53ff77c7559f.gz
This commit is contained in:
parent
4d65b99c68
commit
67921b1c18
|
@ -826,7 +826,7 @@ function common_date_string($dt) {
|
||||||
} else if ($diff < 37 * 3600) {
|
} else if ($diff < 37 * 3600) {
|
||||||
return _('about a day ago');
|
return _('about a day ago');
|
||||||
} else if ($diff < 24 * 24 * 3600) {
|
} 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) {
|
} else if ($diff < 46 * 24 * 3600) {
|
||||||
return _('about a month ago');
|
return _('about a month ago');
|
||||||
} else if ($diff < 330 * 24 * 3600) {
|
} else if ($diff < 330 * 24 * 3600) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user