Closed gitkent closed 2 years ago
Thank you for raising this issue
Hi, The line indicated is when the report is generated, but that's only relevant for the version of the framework being used.
I think that a 'sysinfo' test that reports the system time either on live system or the stored time for the sosreport generation will be more useful, and showing that one based on the local timezone of the host being analyzed.
Additionally a whenlocal
field could be added to the generation itself, would that make sense to you?
The example... local time is in CEST in my system, and the plugin reports the date recorded in the sosreport being analyzed
That's with whenlocal... about sosreport or not, the check will report both on live executions and on sosreport ones. Note that by default OpenShift Cheks is ignoring the internal risu plugins and just leaving the ones in the repository, so you might need to adjust the filters for it
@gitkent check the PR #824 and test it so that I can merge it
:tada: This issue has been resolved in version 1.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
What does happen/fail? We generate an html report with runtime metadata time always show UTC time.
How should it be? It should be showing the local time as most users using their own local time instead of UTC time.
Additional info https://github.com/risuorg/risu/blob/master/risuclient/shell.py#L1379 https://docs.python.org/3/library/datetime.html#datetime.datetime.now