Commit 25299606 authored by Dries's avatar Dries

- Patch #356841 by trogie, Dave Reid | dww: update status 'last checked time'...

- Patch #356841 by trogie, Dave Reid | dww: update status 'last checked time' should output actual date of last check.
parent 5e7df30a
......@@ -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";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment