Merge commit 'bac788fd00f02ca17591c8c34deae420defefc36'

This commit is contained in:
Dylan K. Taylor 2020-01-18 18:15:26 +00:00
commit 987e69bf1b

View File

@ -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':