mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-30 17:24:16 +02:00
TimeSince helper extended to support clientside support
This commit is contained in:
parent
450670d55e
commit
30e1f28ed6
@ -58,7 +58,7 @@ class Zend_View_Helper_TimeSince extends Zend_View_Helper_Abstract
|
||||
}
|
||||
return date('m.Y', $timestamp);
|
||||
}
|
||||
return $prefix . $this->showHourMin($duration);
|
||||
return '<span class="timesince">' . $prefix . $this->showHourMin($duration) . '</span>';
|
||||
}
|
||||
|
||||
public static function showHourMin($sec)
|
||||
|
Loading…
x
Reference in New Issue
Block a user