mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-02 16:19:51 +00:00
Fixed offset calculation
This commit is contained in:
parent
9a4bae7d64
commit
0a27783604
@ -37,10 +37,6 @@ if(strpos(" ".strtoupper(php_uname("s")), " WIN") !== false){
|
||||
|
||||
$daylight = (int) date("I");
|
||||
|
||||
if($daylight === 0){
|
||||
$offset -= 3600;
|
||||
}
|
||||
|
||||
date_default_timezone_set(timezone_name_from_abbr("", $offset, $daylight));
|
||||
|
||||
gc_enable();
|
||||
|
Loading…
x
Reference in New Issue
Block a user