summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
Diffstat (limited to 'src/services')
-rw-r--r--src/services/uploads.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/uploads.service.ts b/src/services/uploads.service.ts
index 3479d0f..2a887e4 100644
--- a/src/services/uploads.service.ts
+++ b/src/services/uploads.service.ts
@@ -40,7 +40,7 @@ const parseTransfersBill = async (context: HookContext): Promise<HookContext> =>
} else if (cols.length === 7) {
const [dateString, doc, op, code, account, debet, credit] = cols;
try {
- const date = moment(dateString, 'DD.MM.YYYY').toISOString();
+ const date = moment.utc(dateString, 'DD.MM.YYYY').toISOString();
acc.push({ date, doc, op, code, account, debet, credit });
} catch (e) {
console.log(`Skipping row because not a date: ${dateString}`);