Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start-time and end-time incorrect for non-UTC timezones #1972

Open
Lt1201 opened this issue May 15, 2023 · 0 comments
Open

start-time and end-time incorrect for non-UTC timezones #1972

Lt1201 opened this issue May 15, 2023 · 0 comments

Comments

@Lt1201
Copy link

Lt1201 commented May 15, 2023

Description of Problem:

When evaluating any profile on a system with a timezone other than UTC. It seems that Day light savings is not taken into account. A system set for PDT is producing results with start-time and end-time with a PST offset.

OpenSCAP Version:

1.3.6

Operating System & Version:

Redhat enterprise linux 8

Steps to Reproduce:

  1. Using timedatectl set timezone to America/Los_Angeles
  2. eval profile of choice
  3. start-time and end-time will be off by one hour

Actual Results:

a results.xml file with start-time and end-time shifted one hour into the future

Expected Results:

a results.xml file with start-time and end-time at the correct time

Additional Information / Debugging Steps:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant