← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1847175] [NEW] Horizon: AgularJS pages do not display dates in system's timezone Edit

 

Public bug reported:

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)

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

** Affects: horizon
     Importance: Undecided
     Assignee: hutianhao27 (hutianhao)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => hutianhao27 (hutianhao)

-- 
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/1847175

Title:
  Horizon: AgularJS pages do not display dates in system's timezone Edit

Status in OpenStack Dashboard (Horizon):
  New

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)

  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/1847175/+subscriptions