htmllisting-parser
htmllisting-parser copied to clipboard
Fix time format with incomplete regex match.
timestr
parsing relies on a series of time format regexes, re.match
-ed against the timestr.
re.match
returns a match for a prefix match, which is a desired behavior in this case.
Parse the match group, rather than the full timestr
string.
This fixes cases where an time-zone suffix (+0000) is added to the reported time.