From: Vsevolod Stakhov Date: Tue, 8 Oct 2019 13:37:51 +0000 (+0100) Subject: [Minor] Be more relaxed about usec X-Git-Tag: 2.0~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=136eae23204b7edd6795aa2dcf5f24ef0a974050;p=thirdparty%2Frspamd.git [Minor] Be more relaxed about usec --- diff --git a/utils/rspamd_stats.pl b/utils/rspamd_stats.pl index 6d304742ad..7bb6cbb1ca 100755 --- a/utils/rspamd_stats.pl +++ b/utils/rspamd_stats.pl @@ -713,7 +713,7 @@ sub log_time_format { # 2017-08-08 00:00:01 #66984( # 2017-08-08 00:00:01.001 #66984( - if (/^\d{4}-\d\d-\d\d \d\d:\d\d:\d\d(\.\d{3})? #\d+\(/) { + if (/^\d{4}-\d\d-\d\d \d\d:\d\d:\d\d(\.\d{3,5})? #\d+\(/) { $format = 'rspamd'; last; }