mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 23:27:46 -04:00
Use OC_Util::formatDate()
This commit is contained in:
parent
c5440fa133
commit
556c6eca23
1 changed files with 1 additions and 1 deletions
|
|
@ -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)));
|
||||
|
|
|
|||
Loading…
Reference in a new issue