Bug 1761866

Summary: Date Created field showing UTC even though settings are set to specific timezone
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ReportingAssignee: Yuri Rudman <yrudman>
Status: CLOSED ERRATA QA Contact: Parthvi Vala <pvala>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.9.0CC: brant.evans, cpelland, dmetzger, jocarter, jrafanie, ngupta, obarenbo, pvala, rchincho, rspagnol, simaishi, yrudman
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.10.12Flags: simaishi: mirror+
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.10.12.1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 1599849 Environment:
Last Closed: 2019-11-06 08:58:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1599849    
Bug Blocks:    

Comment 2 CFME Bot 2019-10-17 19:10:49 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/a9355a124cdb9ca98cec654c6b325c87d9c5edc7
commit a9355a124cdb9ca98cec654c6b325c87d9c5edc7
Author:     Joe Rafaniello <jrafanie.github.com>
AuthorDate: Tue Feb 12 17:20:55 2019 -0500
Commit:     Joe Rafaniello <jrafanie.github.com>
CommitDate: Tue Feb 12 17:20:55 2019 -0500

    Merge pull request #18438 from yrudman/apply-my-timezone-for-report-generation

    Fixed: Timezone set-up in MySettings was not honored when displaying date fields in the report
    (cherry picked from commit 61e4c2adcdccc946cb39cac568ca5d2c25876a7b)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1761866

 app/models/miq_report/generator/html.rb | 10 +-
 spec/models/miq_report_spec.rb | 33 +-
 2 files changed, 36 insertions(+), 7 deletions(-)

Comment 4 Parthvi Vala 2019-10-24 10:16:34 UTC
FIXED. Verified on 5.10.12.1.
Timezone change is now reflected in report data as well.

Comment 6 errata-xmlrpc 2019-11-06 08:58:35 UTC
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-2019:3268