Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot change timezone in config/app - Plugin manager overwrites default timezone #993

Open
mihau1 opened this issue Dec 30, 2020 · 1 comment

Comments

@mihau1
Copy link

mihau1 commented Dec 30, 2020

PluginManger overwrites default timezone

        if (!$timezone) {
            $timezone = 'UTC';
        }
        date_default_timezone_set($timezone);

It cannot reach Configure::read in this way.

@rchavik
Copy link
Member

rchavik commented Feb 2, 2021

AFAIK, this was intended as fallback if timezone was not set by settings. Is this call too early? Where should we call this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants