Fix time format bug from last commit

This commit is contained in:
Deon George 2014-08-22 17:06:15 +10:00
parent b657781a5b
commit 39406e1f76
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ abstract class lnApp_Site {
* Show a time using a site configured format
*/
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()));
}
}
?>