pangea-server 3.3.130 → 3.3.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -141,7 +141,8 @@ class Arca {
|
|
|
141
141
|
const month = String(localDate.getMonth() + 1).padStart(2, '0');
|
|
142
142
|
const year = localDate.getFullYear();
|
|
143
143
|
const issueDate = `${day}/${month}/${year}`;
|
|
144
|
-
const
|
|
144
|
+
const caeDateStr = res.CAEFchVto.replace(/-/g, '');
|
|
145
|
+
const caeDueDate = `${caeDateStr.slice(6, 8)}/${caeDateStr.slice(4, 6)}/${caeDateStr.slice(0, 4)}`;
|
|
145
146
|
const timestamp = localDate
|
|
146
147
|
.toISOString()
|
|
147
148
|
.replace(/[-:T.]/g, '')
|