Use OC_Util::formatDate()

This commit is contained in:
kondou 2014-03-12 17:53:39 +01:00
parent c5440fa133
commit 556c6eca23

View file

@ -157,7 +157,7 @@ if (!$_['internetconnectionworking']) {
<?php if ($_['cron_log']): ?>
<p class="cronlog inlineblock">
<?php if ($_['lastcron'] !== false):
$human_time = date('Y-m-d H:i', $_['lastcron']) . " UTC";
$human_time = OC_Util::formatDate($_['lastcron']) . " UTC";
if (time() - $_['lastcron'] <= 3600): ?>
<span class="cronstatus success"></span>
<?php p($l->t("Last cron was executed at %s.", array($human_time)));