From 37b2e1c734e23ffd9c5e9fb8990ca080122d12c0 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Wed, 5 Feb 2025 11:14:36 +0000 Subject: [PATCH] fix fro incorrect month in repfile name --- components/case/representation/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/case/representation/index.js b/components/case/representation/index.js index f287a7b6..f4134a93 100644 --- a/components/case/representation/index.js +++ b/components/case/representation/index.js @@ -113,7 +113,7 @@ let MakeRepresentation = (props) => { const repDate = new Date(); let day = ("0" + repDate.getDate()).slice(-2); - let month = ("0" + repDate.getMonth() + 1).slice(-2); + let month = ("0" + (repDate.getMonth() + 1)).slice(-2); let year = repDate.getFullYear(); switch (values.representationCapacity) {