* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL, version 2 * @author Icinga Development Team * */ // {{{ICINGA_LICENSE_HEADER}}} use Icinga\Util\Format; /** * Class Zend_View_Helper_TimeSince */ class Zend_View_Helper_TimeUnless extends Zend_View_Helper_Abstract { public function timeUnless($timestamp) { if (! $timestamp) return ''; return '' . Format::timeUntil($timestamp) . ''; } } // @codingStandardsIgnoreStop