diff --git a/core/util.inc.php b/core/util.inc.php index 53b89f6d..a54151d8 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -100,7 +100,7 @@ function autodate($date, $html=true) { $format = $config->get_string('autodate_format', "F j, Y"); $seconds = time() - strtotime($date); - $ago = seconds_to_time($date) . " ago"; + $ago = seconds_to_time($seconds) . " ago"; $on = "on " . date($format, strtotime($date)); if($config->get_bool('use_autodate', true)) {