Пример #1
0
 /**
  * Returns a formatted date string, given either a UNIX timestamp or a valid strtotime() date string.
  * It take in account the default date format for the current language if a LC_TIME file is used.
  *
  * @param string $dateString Datetime string
  * @param string $format strftime format string.
  * @param boolean $invalid flag to ignore results of fromString == false
  * @param int $userOffset User's offset from GMT (in hours)
  * @return string Formatted and translated date string @access public
  * @access public
  */
 function i18nFormat($date, $format = null, $invalid = false, $userOffset = null)
 {
     return parent::i18nFormat($date, $format, $invalid, $this->__userOffset($date, $userOffset));
 }