Patchman can encounter errata timestamps formatted with a trailing textual UTC timezone, for example:
The existing datetime parser does not reliably handle this form.
Expected behaviour:
Common UTC timestamp forms should be accepted, including textual UTC and ISO +00:00.
Suggested fix:
Normalize trailing UTC to +00:00 before parsing, validate the result, and only make the datetime aware if it is naive.
Impact:
Improves resilience when ingesting errata metadata from different RPM/YUM repository implementations.
Patchman can encounter errata timestamps formatted with a trailing textual UTC timezone, for example:
The existing datetime parser does not reliably handle this form.
Expected behaviour:
Common UTC timestamp forms should be accepted, including textual
UTCand ISO+00:00.Suggested fix:
Normalize trailing
UTCto+00:00before parsing, validate the result, and only make the datetime aware if it is naive.Impact:
Improves resilience when ingesting errata metadata from different RPM/YUM repository implementations.