mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
d17842b485
commit
dd298edb81
@ -202,7 +202,7 @@ class DateFormatter
|
||||
public static function timeUntil($time, $timeOnly = false)
|
||||
{
|
||||
list($type, $until, $invert) = static::diff($time);
|
||||
if ($invert) {
|
||||
if ($invert && $type === static::RELATIVE) {
|
||||
$until = '-' . $until;
|
||||
}
|
||||
if ($timeOnly) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user