From bf9fc2f3c5b98dc6757715883060e23474f624e8 Mon Sep 17 00:00:00 2001 From: dignajar Date: Sat, 24 Oct 2015 17:43:50 -0300 Subject: [PATCH] Updates --- install.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.php b/install.php index d356a8dd..91724f99 100644 --- a/install.php +++ b/install.php @@ -193,10 +193,12 @@ function install($adminPassword, $email, $timezoneOffset) $stdOut = array(); - $currentDate = Date::current(DB_DATE_FORMAT); - $timezone = timezone_name_from_abbr("", $timezoneOffset, 0); + date_default_timezone_set($timezone); + + $currentDate = Date::current(DB_DATE_FORMAT); + // ============================================================================ // Create directories // ============================================================================