diff --git a/lib/net/authorize/api/controller/base/ApiOperationBase.php b/lib/net/authorize/api/controller/base/ApiOperationBase.php index 9117389a..6192d9ca 100644 --- a/lib/net/authorize/api/controller/base/ApiOperationBase.php +++ b/lib/net/authorize/api/controller/base/ApiOperationBase.php @@ -48,7 +48,6 @@ abstract class ApiOperationBase implements IApiOperation */ public function __construct(\net\authorize\api\contract\v1\AnetApiRequestType $request, $responseType) { - date_default_timezone_set('UTC'); $this->logger = LogFactory::getLog(get_class($this)); if ( null == $request) diff --git a/lib/net/authorize/util/Helpers.php b/lib/net/authorize/util/Helpers.php index bffdb79a..441826fd 100644 --- a/lib/net/authorize/util/Helpers.php +++ b/lib/net/authorize/util/Helpers.php @@ -19,7 +19,6 @@ public static function now() //init only once if ( ! self::$initialized) { - date_default_timezone_set('UTC'); self::$initialized = true; } return date( DATE_RFC2822); diff --git a/lib/net/authorize/util/HttpClient.php b/lib/net/authorize/util/HttpClient.php index a779c92c..b0289632 100644 --- a/lib/net/authorize/util/HttpClient.php +++ b/lib/net/authorize/util/HttpClient.php @@ -23,7 +23,6 @@ class HttpClient public function __construct() { $this->logger = LogFactory::getLog(get_class($this)); - date_default_timezone_set('UTC'); } /** diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 9815cac1..80757261 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -13,7 +13,6 @@ } // Append to log file -date_default_timezone_set('UTC'); //necessary for the following date to set timezone $logMessage = sprintf("Logging Started: %s\n", date(DATE_RFC2822)); if (AUTHORIZENET_LOG_FILE) {