Fix time format bug from last commit
This commit is contained in:
parent
b657781a5b
commit
39406e1f76
@ -64,7 +64,7 @@ abstract class lnApp_Site {
|
|||||||
* Show a time using a site configured format
|
* Show a time using a site configured format
|
||||||
*/
|
*/
|
||||||
public static function Time($date) {
|
public static function Time($date) {
|
||||||
return date(Kohana::$config->load('config')->date_format,($date ? $date : time()));
|
return date(Kohana::$config->load('config')->time_format,($date ? $date : time()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user