diff options
author | Jakob Sack <mail@jakobsack.de> | 2015-02-28 21:09:25 +0100 |
---|---|---|
committer | Jakob Sack <mail@jakobsack.de> | 2015-02-28 21:09:25 +0100 |
commit | 6e906fc4d4ea9ae09d2223077760f6efba2b2875 (patch) | |
tree | 108b952614ea23ac541dd509f5ab635d66df7e9a /settings | |
parent | 42f6448da239c1b716ae514a513c4985eec48ef5 (diff) | |
download | nextcloud-server-6e906fc4d4ea9ae09d2223077760f6efba2b2875.tar.gz nextcloud-server-6e906fc4d4ea9ae09d2223077760f6efba2b2875.zip |
Use relative time for cron status
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/admin.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index a82d5ee8545..1de1e2851b7 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -236,13 +236,13 @@ if ($_['suggestedOverwriteCliUrl']) { <?php if ($_['cron_log']): ?> <p class="cronlog inlineblock"> <?php if ($_['lastcron'] !== false): - $human_time = OC_Util::formatDate($_['lastcron']); + $human_time = relative_modified_date($_['lastcron']); if (time() - $_['lastcron'] <= 3600): ?> <span class="cronstatus success"></span> - <?php p($l->t("Last cron was executed at %s.", array($human_time))); + <?php p($l->t("Last cron was executed %s.", array($human_time))); else: ?> <span class="cronstatus error"></span> - <?php p($l->t("Last cron was executed at %s. This is more than an hour ago, something seems wrong.", array($human_time))); + <?php p($l->t("Last cron was executed %s. Something seems wrong.", array($human_time))); endif; else: ?> <span class="cronstatus error"></span> |