From 39406e1f76bb9e34fe70cba3ef16c59be360d9bd Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 22 Aug 2014 17:06:15 +1000 Subject: [PATCH] Fix time format bug from last commit --- classes/lnApp/Site.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/lnApp/Site.php b/classes/lnApp/Site.php index eec7f32..4a8dacb 100644 --- a/classes/lnApp/Site.php +++ b/classes/lnApp/Site.php @@ -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())); } } ?>