Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
feat(zkb): Uses valuta date
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisnoo committed Apr 21, 2021
1 parent 5b617f0 commit 1ce4113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/banks/zkb-de.ts
Expand Up @@ -28,7 +28,7 @@ export class ZkbDe extends Bank {
}

// Read date as utc (w/out timezone) and convert to js date
const date = moment.utc(obj.datum, 'DD.MM.YYYY').format('YYYY-MM-DD');
const date = moment.utc(obj.valuta, 'DD.MM.YYYY').format('YYYY-MM-DD');

return {
imported_id: obj['zkb-referenz'],
Expand Down

0 comments on commit 1ce4113

Please sign in to comment.