Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Revert back UTC value to date_default_timezone_get()
Browse files Browse the repository at this point in the history
  • Loading branch information
rolies106 committed Sep 18, 2013
1 parent 879f916 commit 8d369ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ResqueBoard/Config/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

define('URL_ROOT', $_SERVER['SCRIPT_NAME'] === '/index.php' ? '/' : (pathinfo($_SERVER['SCRIPT_NAME'], PATHINFO_DIRNAME) . '/'));

date_default_timezone_set(isset($settings['timezone']) ? $settings['timezone'] : 'UTC');
date_default_timezone_set(isset($settings['timezone']) ? $settings['timezone'] : date_default_timezone_get());

/**
* List of events type
Expand Down

0 comments on commit 8d369ac

Please sign in to comment.