htmllisting-parser icon indicating copy to clipboard operation
htmllisting-parser copied to clipboard

Fix time format with incomplete regex match.

Open asford opened this issue 3 years ago • 0 comments

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.

asford avatar Aug 12 '21 15:08 asford