mirror of
https://github.com/tstack/lnav
synced 2024-11-03 23:15:38 +00:00
add two more common time formats
Since 26cd9f59
introduced stricter timestamp parsing so that
the full string now has to be matched, several of the 3rd party
formats installable via "lnav -i extra" broke. So add a couple
more very common timestamp formats to address these.
This commit is contained in:
parent
fb4e66e0b5
commit
baa4ec0eb2
@ -39,10 +39,12 @@ TIME_FORMATS = \
|
|||||||
"@%@" \
|
"@%@" \
|
||||||
"%Y-%m-%d %H:%M:%S" \
|
"%Y-%m-%d %H:%M:%S" \
|
||||||
"%Y-%m-%d %H:%M:%S%z" \
|
"%Y-%m-%d %H:%M:%S%z" \
|
||||||
|
"%Y-%m-%d %H:%M:%S %z" \
|
||||||
"%Y-%m-%d %H:%M" \
|
"%Y-%m-%d %H:%M" \
|
||||||
"%Y-%m-%dT%H:%M:%S.%f%z" \
|
"%Y-%m-%dT%H:%M:%S.%f%z" \
|
||||||
"%y-%m-%dT%H:%M:%S.%f%z" \
|
"%y-%m-%dT%H:%M:%S.%f%z" \
|
||||||
"%Y-%m-%dT%H:%M:%SZ" \
|
"%Y-%m-%dT%H:%M:%SZ" \
|
||||||
|
"%Y-%m-%dT%H:%M:%S%z" \
|
||||||
"%Y-%m-%dT%H:%M:%S" \
|
"%Y-%m-%dT%H:%M:%S" \
|
||||||
"%Y-%m-%dT%H:%M:%S%z" \
|
"%Y-%m-%dT%H:%M:%S%z" \
|
||||||
"%Y/%m/%d %H:%M:%S" \
|
"%Y/%m/%d %H:%M:%S" \
|
||||||
|
Loading…
Reference in New Issue
Block a user