芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/lib/Twig/DateFormatTwigExtension.php
new \Twig_Filter_Method($this, 'dateFormat') ); } /** * Formats a date * * @param string $date in seconds * * @return string formated as HH:mm:ss */ public function dateFormat( $date ) { return gmdate('H:i:s', $date); } /** * Returns the name of the extension. * * @return string The extension name */ public function getName() { return 'datehms'; } }