Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1253376 - Foreman task view does not respect user timezone
Foreman task view does not respect user timezone
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Tasks Plugin (Show other bugs)
Nightly
Unspecified Unspecified
unspecified Severity medium (vote)
: Beta
: Unused
Assigned To: Ohad Levy
Jitendra Yejare
http://projects.theforeman.org/issues...
Verified in Upstream
: Triaged
: 1336103 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-13 11:10 EDT by Walden Raines
Modified: 2016-10-18 04:01 EDT (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-27 05:17:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Verified Screenshot of USer Time on Task page (201.72 KB, image/png)
2015-09-01 03:21 EDT, Jitendra Yejare
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1753953 None None None Never
Red Hat Product Errata RHBA-2016:1501 normal SHIPPED_LIVE Red Hat Satellite 6.2 Capsule and Server 2016-07-27 08:28:58 EDT

  None (edit)
Description Walden Raines 2015-08-13 11:10:34 EDT
In the foreman task view the time of the task is shown always in UTC.  It should be converted to the user's timezone.

This issue may exist elsewhere but was observed on the tasks page.

h3. Steps to Reproduce

# Go to the user settings page and set the timezone to something other than UTC
# Go to the tasks page
# Note the time is displayed in UTC
Comment 1 Walden Raines 2015-08-13 11:10:35 EDT
Created from redmine issue http://projects.theforeman.org/issues/11344
Comment 3 Bryan Kearney 2015-08-25 14:36:14 EDT
Upstream bug component is Tasks Plugin
Comment 4 Bryan Kearney 2015-08-28 12:04:05 EDT
Moving to POST since upstream bug http://projects.theforeman.org/issues/11344 has been closed
-------------
Shlomi Zadok
Applied in changeset commit:2fdc08e53eda5642daac2a597838f9b38b1806db.
Comment 5 Jitendra Yejare 2015-09-01 03:19:51 EDT
Verified this BZ with Upstream build:
The time in Tasks Page is displayed according to User timezone set in User settings at not as per UTC. 
I verified this by setting the timezone to IST.


with versions:
foreman-proxy-1.10.0-0.develop.201508250705gitb446e0c.el7.noarch
foreman-release-1.10.0-0.develop.201508241946git8658fa3.el7.noarch
foreman-compute-1.10.0-0.develop.201508241946git8658fa3.el7.noarch
foreman-gce-1.10.0-0.develop.201508241946git8658fa3.el7.noarch
foreman-1.10.0-0.develop.201508241946git8658fa3.el7.noarch

The screenshot of proof has been attached.
So,mMoving this BZ state to Verified.
Comment 6 Jitendra Yejare 2015-09-01 03:21:04 EDT
Created attachment 1068869 [details]
Verified Screenshot of USer Time on Task page
Comment 8 Pavel Moravec 2016-06-16 02:23:11 EDT
Does it mean that with this fix, task export will have timestamps in local timezone and not in UTC?

If so, bz1315248 could be closed as DUP.
Comment 9 Ohad Levy 2016-06-16 03:21:35 EDT
No - I don't believe so as this patch only address the browser view.
Comment 11 errata-xmlrpc 2016-07-27 05:17:43 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501
Comment 12 Adam Ruzicka 2016-10-18 04:01:21 EDT
*** Bug 1336103 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.