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 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)
|
||||||
|
|
Loading…
Reference in New Issue