From 7c946db89f9516c33b2ac6e73d629aebf7a826b8 Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 20 Nov 2009 11:51:51 +0000 Subject: [PATCH] how did nobody spot this? x_x --- core/util.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {