yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80488
[Bug 1832768] Re: Horizon: AgularJS pages do not display dates in system's timezone
** Also affects: horizon
Importance: Undecided
Status: New
** Changed in: horizon
Assignee: (unassigned) => hutianhao27 (hutianhao)
** Changed in: horizon
Status: New => In Progress
** Changed in: horizon
Importance: Undecided => Low
--
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/1832768
Title:
Horizon: AgularJS pages do not display dates in system's timezone
Status in OpenStack Dashboard (Horizon):
In Progress
Status in StarlingX:
Triaged
Bug description:
Brief Description
-----------------
Horizon's AngularJS pages (for example Images) does not display timestamp in system's timezone. The timezone used is the browser's.
Severity
--------
Minor
Steps to Reproduce
------------------
- If Timezone is not set under Settings (menu on the top right):
Set the controller's system timezone to a one different from UTC and the browser, for example "system modify --timezone America/Regina"
The Image timestamps (for example 'Created At') are displayed in the browser's timezone and not the system's timezone.
or
- If Timezone is set under Settings (menu on the top right):
Set Horizon's Settings Timezone to one that is different from UTC and the browser.
The Image timestamps (for example 'Created At') are displayed in the browser's timezone and not the Settings' timezone.
Expected Behavior
------------------
AngularJS pages should align with Django pages which use the timezone from the Horizon's cookie (which is set under the Settings menu on the top right), or if that is not set use the controller’s timezone.
Actual Behavior
----------------
The AngularJS pages use the browser's timezone.
Reproducibility
---------------
Reproducible
System Configuration
--------------------
Any configuration
Branch/Pull Time/Commit
-----------------------
Last Pass
---------
NA
Timestamp/Logs
--------------
NA
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1832768/+subscriptions