Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1709902

Summary: Dates specified in search queries don't respect current user time zone
Product: Red Hat Satellite Reporter: Marek Hulan <mhulan>
Component: ReportingAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4CC: egolov, inecas, kgaikwad, mhulan, oprazak
Target Milestone: 6.6.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-scoped_search-0.4.7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-22 19:49:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marek Hulan 2019-05-14 14:03:22 UTC
this is fixed in scoped_search 0.4.7

Comment 1 Marek Hulan 2019-05-14 14:03:26 UTC
Created from redmine issue https://projects.theforeman.org/issues/26757

Comment 2 Marek Hulan 2019-05-14 14:03:29 UTC
Upstream bug assigned to mhulan

Comment 3 Marek Hulan 2019-05-14 14:11:58 UTC
Reproducing steps:

1) login as a user in some non +0 timezone, e.g. +0200
2) generate a report template Monitor -> Report templates -> whichever one, schedule for later, e.g. 2 minutes from now
3) observer the report does not start rendering as expected, based on your timezone it either start earlier or later (by hours)

With the fix
1) scheduling works as expected

Comment 6 Brad Buckingham 2019-05-14 17:08:17 UTC
*** Bug 1709901 has been marked as a duplicate of this bug. ***

Comment 7 Lukáš Hellebrandt 2019-05-28 13:46:14 UTC
Verified with Sat 6.6 snap 4.

Tested using Firefox 66.0.3 and Chromium 73.0.3683.86. Tested both with e-mail and polling.

Comment 8 Bryan Kearney 2019-10-22 19:49:52 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/RHSA-2019:3172