From baa4ec0eb25e1796c95e6bf8ba1fcd2dbb6edbe3 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Tue, 22 Nov 2016 19:59:44 +0000 Subject: [PATCH] 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. --- src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index 1061a49a..77e0c978 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -39,10 +39,12 @@ TIME_FORMATS = \ "@%@" \ "%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" \ "%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:%S%z" \ "%Y-%m-%dT%H:%M:%S" \ "%Y-%m-%dT%H:%M:%S%z" \ "%Y/%m/%d %H:%M:%S" \