summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-09-27 11:15:53 +0000
committerDries Buytaert <dries@buytaert.net>2009-09-27 11:15:53 +0000
commit252996066042b290bff9bebba8f8256cab62a999 (patch)
tree9dc47a469ea36c1b1fbb2751fe79f985cd37399f
parent5e7df30a34493894c4ea5be807ebd21bcf663884 (diff)
downloadbrdo-252996066042b290bff9bebba8f8256cab62a999.tar.gz
brdo-252996066042b290bff9bebba8f8256cab62a999.tar.bz2
- Patch #356841 by trogie, Dave Reid | dww: update status 'last checked time' should output actual date of last check.
-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 ac1947dd8..e5ed7c867 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(REQUEST_TIME - $last))) : t('Last checked: never'));
+ $output = '<div class="update checked">' . ($last ? t('Last checked: @timestamp (@time ago)', array('@time' => format_interval(REQUEST_TIME - $last), '@timestamp' => format_date($last))) : t('Last checked: never'));
$output .= ' <span class="check-manually">(' . l(t('Check manually'), 'admin/reports/updates/check') . ')</span>';
$output .= "</div>\n";