Exemple #1
0
 /**
  * Converts a string representing the format for the function strftime and returns a
  * Windows safe and i18n aware format.
  *
  * @param string $format Format with specifiers for strftime function.
  *                       Accepts the special specifier %S which mimics the modifier S for date()
  * @param string $time   UNIX timestamp
  *
  * @return string Windows safe and date() function compatible format for strftime
  * @see  CakeTime::convertSpecifiers()
  * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/time.html#formatting
  */
 public function convertSpecifiers($format, $time = NULL)
 {
     return $this->_engine->convertSpecifiers($format, $time);
 }