mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
Merge commit 'bac788fd00f02ca17591c8c34deae420defefc36'
This commit is contained in:
commit
987e69bf1b
@ -96,6 +96,9 @@ abstract class Timezone{
|
||||
\GlobalLogger::get()->warning("Timezone could not be automatically determined or was set to an invalid value. An incorrect timezone will result in incorrect timestamps on console logs. It has been set to \"UTC\" by default. You can change it on the php.ini file.");
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string|false
|
||||
*/
|
||||
public static function detectSystemTimezone(){
|
||||
switch(Utils::getOS()){
|
||||
case 'win':
|
||||
|
Loading…
x
Reference in New Issue
Block a user