From ddbe5ed842392cde1fc6fd4a51e8b5444e1a5a10 Mon Sep 17 00:00:00 2001 From: Bryce Date: Mon, 14 Aug 2023 15:03:18 -0700 Subject: [PATCH] makes royal hawaiian forced to be 2 digit years --- src/clj/auto_ap/parse/templates.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/auto_ap/parse/templates.clj b/src/clj/auto_ap/parse/templates.clj index aa162598..ab43ca87 100644 --- a/src/clj/auto_ap/parse/templates.clj +++ b/src/clj/auto_ap/parse/templates.clj @@ -157,7 +157,7 @@ :customer-identifier #"BILL TO.*\n\s+(.*?(?=(\s{2,}|\()))" :invoice-number #"Invoice#:\s+([0-9]+)" :total #"INV TOTAL:\s+([0-9\.,]+)"} - :parser {:date [:clj-time "MM/dd/yyyy"] + :parser {:date [:clj-time "MM/dd/yy"] :total [:trim-commas nil]}} ;; WORLDWIDE PRODUCE