Use timeAgo() instead of timeSince() for an object's last check

refs #6778
This commit is contained in:
Eric Lippmann 2015-04-10 10:27:57 +02:00
parent 613de61e6d
commit d6374d4770
1 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ if ($object->getType() === $object::TYPE_HOST) {
<?php if (isset($checkNowForm)) { // Form is unset if the current user lacks the respective permission <?php if (isset($checkNowForm)) { // Form is unset if the current user lacks the respective permission
echo $checkNowForm; echo $checkNowForm;
} ?> } ?>
<?= $this->timeSince($object->last_check) ?> <?= $this->timeAgo($object->last_check) ?>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -54,7 +54,8 @@ if ($object->getType() === $object::TYPE_HOST) {
) )
); );
} }
} ?> <?= $this->timeUntil($object->next_check) ?> } ?>
<?= $this->timeUntil($object->next_check) ?>
</td> </td>
</tr> </tr>
<tr> <tr>