Wrong timezone in settings page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Mateusz Kowalski |
Bug Description
When new user (=clean cookies) logs into Horizon, in Settings page "UTC" is always shown even if the local_settings indicate another timezone. At the same time all the dates are shown in the real timezone (=the one from local settings).
Whole procedure to reproduce:
* set local_settings to TIME_ZONE = "Europe/Zurich" (=UTC+1)
* clear the cookies
* log into dashboard and check value (=label) is set to UTC
* check some random date in UI (like instance creation time)
* go to the settings and change value to UTC+1
* check the same date in UI and notice it hasn't changed
* go to the settings and change value back to UTC
* check the same date one more time and notice the value has now changed
It means only the initial value is wrong. As tz is stored in cookie, after user changes it for the first time in the current session (=cookie lifecycle) everything is shown correctly.
Changed in horizon: | |
milestone: | none → pike-1 |
importance: | Undecided → Low |
Fix proposed to branch: master /review. openstack. org/427601
Review: https:/