summaryrefslogtreecommitdiff
path: root/modules/update/update.report.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/update/update.report.inc')
-rw-r--r--modules/update/update.report.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/update/update.report.inc b/modules/update/update.report.inc
index 152302061..193284f1c 100644
--- a/modules/update/update.report.inc
+++ b/modules/update/update.report.inc
@@ -27,7 +27,7 @@ function update_status() {
*/
function theme_update_report($data) {
$last = variable_get('update_last_check', 0);
- $output = '<div class="update checked">' . ($last ? t('Last checked: @time ago', array('@time' => format_interval(time() - $last))) : t('Last checked: never'));
+ $output = '<div class="update checked">' . ($last ? t('Last checked: @time ago', array('@time' => format_interval($_SERVER['REQUEST_TIME'] - $last))) : t('Last checked: never'));
$output .= ' <span class="check-manually">(' . l(t('Check manually'), 'admin/reports/updates/check') . ')</span>';
$output .= "</div>\n";