From 708d462bf980f85c31d9e6584ad8f22ce3fae41f Mon Sep 17 00:00:00 2001 From: Bryan Crowe Date: Mon, 16 Dec 2013 21:14:32 -0500 Subject: [PATCH] Add Configure timezone to boostrap --- app/Config/core.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/Config/core.php b/app/Config/core.php index d686b39c0..e37fbb790 100644 --- a/app/Config/core.php +++ b/app/Config/core.php @@ -269,6 +269,14 @@ */ //date_default_timezone_set('UTC'); +/** + * ‘Config.timezone’ is available which you can set to user’s timezone string. + * If a method of CakeTime class is called with $timezone parameter as null and ‘Config.timezone’ is set, + * then the value of ‘Config.timezone’ will be used. This feature allows you to set user’s timezone just + * once instead of passing it each time in function calls. + */ + //Configure::write('Config.timezone', 'Europe/Paris') + /** * * Cache Engine Configuration