From 1e08810188dbff1ecaed9f4631442586daa469a3 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 22 Aug 2019 21:48:39 -0600 Subject: [PATCH] Update InfoZip list extractor --- core/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/config.js b/core/config.js index 8b335d44..44b5f4cc 100644 --- a/core/config.js +++ b/core/config.js @@ -683,7 +683,8 @@ function getDefaultConfig() { list : { cmd : 'unzip', args : [ '-l', '{archivePath}' ], - entryMatch : '^\\s*([0-9]+)\\s+[0-9]{4}-[0-9]{2}-[0-9]{2}\\s+[0-9]{2}:[0-9]{2}\\s+([^\\r\\n]+)$', + // Annoyingly, dates can be in YYYY-MM-DD or MM-DD-YYYY format + entryMatch : '^\\s*([0-9]+)\\s+[0-9]{2,4}-[0-9]{2}-[0-9]{2,4}\\s+[0-9]{2}:[0-9]{2}\\s+([^\\r\\n]+)$', }, extract : { cmd : 'unzip',