summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2014-03-12 17:53:39 +0100
committerkondou <kondou@ts.unde.re>2014-03-12 17:53:39 +0100
commit556c6eca2397eaa03c4503822d647c8b6cb5e70e (patch)
tree6e2c4635a9bd49d93341b2d12e6f2b1f4f99a538 /settings
parentc5440fa13305799e1af663993220d200373efc4e (diff)
downloadnextcloud-server-556c6eca2397eaa03c4503822d647c8b6cb5e70e.tar.gz
nextcloud-server-556c6eca2397eaa03c4503822d647c8b6cb5e70e.zip
Use OC_Util::formatDate()
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 08a0a8f5e68..bb402f9f78e 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -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)));