UNSOLVED

yakatz

updated

4 years ago

Y

yakatz

1 Rookie

27 Posts

0

276

July 6th, 2022 13:00

DSU JSON output showing incorrect time

We are running dsu version 1.9.3.0, installed from the YUM repository, on RedHat 7 and RedHat 8.

We run it on a schedule with the command `dsu --output=/tmp/dsu.json --output-format=json --compliance` (and we run the json through jq and then use it for Puppet facts, but that doesn't affect this question).

The JSON appears to have a field showing the time the output was generated, but that time appears to be in 12-hour format with no AM or PM specification - when run at 4:30 PM (16:30) or 4:30 AM (04:30), it outputs 04:30 as the time. The time is accurately showing the time DSU was run other than not showing AM/PM/24-hour-format.

A screenshot showing the issue, taken at 16:30, not 04:30.

BARnVlW