mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Fix #2946: Use Yii2 default timezone handling
This commit is contained in:
parent
7b5ab38f59
commit
d434197aee
@ -89,16 +89,4 @@ class Application extends \yii\web\Application
|
||||
|
||||
return parent::beforeAction($action);
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function preInit(&$config)
|
||||
{
|
||||
if (!isset($config['timeZone']) && date_default_timezone_get()) {
|
||||
$config['timeZone'] = date_default_timezone_get();
|
||||
}
|
||||
|
||||
parent::preInit($config);
|
||||
}
|
||||
}
|
||||
|
@ -12,6 +12,7 @@ HumHub Change Log (DEVELOP)
|
||||
- Chng: Removed `jquery-placeholder` asset and dependency
|
||||
- Chng: Removed `atwho` asset and dependency
|
||||
- Cnng: Removed old IE support
|
||||
- Fix #2946: Use Yii2 default timezone handling
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user