Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #278 from timble/feature/277-timezone
Browse files Browse the repository at this point in the history
Do not set default timezone and locale
  • Loading branch information
ercanozkaya authored Jun 22, 2021
2 parents 27bbe33 + 90f96c6 commit 184f0d6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions code/dispatcher/request/abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,6 @@ public function __construct(ObjectConfig $config)
//Receive the request
$this->receive();

// Set timezone to user's settings
date_default_timezone_set($this->getTimezone());

// Set language to user's settings
locale_set_default($this->getLanguage());

//Set the request time
if (isset($_SERVER['REQUEST_TIME_FLOAT'])) {
$this->setTime($_SERVER['REQUEST_TIME_FLOAT']);
Expand Down

0 comments on commit 184f0d6

Please sign in to comment.