TimeSince helper extended to support clientside support

This commit is contained in:
Thomas Gelf 2014-02-18 17:39:23 +00:00
parent 450670d55e
commit 30e1f28ed6
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class Zend_View_Helper_TimeSince extends Zend_View_Helper_Abstract
} }
return date('m.Y', $timestamp); return date('m.Y', $timestamp);
} }
return $prefix . $this->showHourMin($duration); return '<span class="timesince">' . $prefix . $this->showHourMin($duration) . '</span>';
} }
public static function showHourMin($sec) public static function showHourMin($sec)