From 556c6eca2397eaa03c4503822d647c8b6cb5e70e Mon Sep 17 00:00:00 2001
From: kondou <kondou@ts.unde.re>
Date: Wed, 12 Mar 2014 17:53:39 +0100
Subject: [PATCH] Use OC_Util::formatDate()

---
 settings/templates/admin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 08a0a8f5e6..bb402f9f78 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)));
-- 
GitLab