Esempio n. 1
0
 /**
  * Display date uploade in human readable format without wrap.
  *
  * @param int $date unix timestamp
  * @return string
  */
 public static function uploaded($date, $timestamp = true)
 {
     if (!$timestamp && $date == '0000-00-00 00:00:00') {
         return '';
     }
     return JoomDOCHelper::nowrap(JHtml::date($timestamp ? date('Y-m-d H:i:s', $date) : $date, JText::_('JOOMDOC_UPLOADED_DATE_J16')));
 }