When a timezone is manually selected, the timezone needs to be explicity set in the session otherwise the setting changes to a blank timezone (#15890)
This commit is contained in:
parent
d7c31e0ae3
commit
3463d85053
|
@ -29,6 +29,7 @@ class LoadUserPreferences
|
|||
});
|
||||
|
||||
$this->setPreference($request, 'timezone', function ($timezone) use ($request) {
|
||||
$request->session()->put('preferences.timezone', $timezone);
|
||||
$request->session()->put('preferences.timezone_static', true);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue