yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60985
[Bug 1660648] [NEW] Wrong timezone in settings page
Public bug reported:
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.
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1660648
Title:
Wrong timezone in settings page
Status in OpenStack Dashboard (Horizon):
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1660648/+subscriptions
Follow ups