From 736fe7c4d8126808266d1100bcd61430625c4455 Mon Sep 17 00:00:00 2001 From: Mike Tralala Date: Mon, 16 Mar 2015 13:33:30 +0100 Subject: [PATCH] the used timezone should be editable if the timezone is set in the php cli ini file, mage should use that one instead of the default UTC --- bin/mage | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/mage b/bin/mage index 52f5c19..65aeabc 100755 --- a/bin/mage +++ b/bin/mage @@ -9,7 +9,9 @@ * file that was distributed with this source code. */ -date_default_timezone_set('UTC'); +if(empty(ini_get('date.timezone'))){ + date_default_timezone_set('UTC'); +} $baseDir = dirname(dirname(__FILE__));