mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 00:34:03 +02:00
parent
cde0027b6f
commit
27f3dd94d2
@ -43,7 +43,7 @@ $this->addHelperFunction('timeAgo', function ($time, $timeOnly = false) {
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
return sprintf(
|
return sprintf(
|
||||||
'<span class="time-ago" title="%s">%s</span>',
|
'<span class="text-small time-ago" title="%s">%s</span>',
|
||||||
DateFormatter::formatDateTime($time),
|
DateFormatter::formatDateTime($time),
|
||||||
DateFormatter::timeAgo($time, $timeOnly)
|
DateFormatter::timeAgo($time, $timeOnly)
|
||||||
);
|
);
|
||||||
@ -54,7 +54,7 @@ $this->addHelperFunction('timeSince', function ($time, $timeOnly = false) {
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
return sprintf(
|
return sprintf(
|
||||||
'<span class="time-since" title="%s">%s</span>',
|
'<span class="text-small time-since" title="%s">%s</span>',
|
||||||
DateFormatter::formatDateTime($time),
|
DateFormatter::formatDateTime($time),
|
||||||
DateFormatter::timeSince($time, $timeOnly)
|
DateFormatter::timeSince($time, $timeOnly)
|
||||||
);
|
);
|
||||||
@ -65,7 +65,7 @@ $this->addHelperFunction('timeUntil', function ($time, $timeOnly = false) {
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
return sprintf(
|
return sprintf(
|
||||||
'<span class="time-until" title="%s">%s</span>',
|
'<span class="text-small time-until" title="%s">%s</span>',
|
||||||
DateFormatter::formatDateTime($time),
|
DateFormatter::formatDateTime($time),
|
||||||
DateFormatter::timeUntil($time, $timeOnly)
|
DateFormatter::timeUntil($time, $timeOnly)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user