Closed dascgit closed 10 months ago
Thanks! I will try to look in to it later this week!
When adding this lines the date problem seems solved:
import customParseFormat from 'dayjs/plugin/customParseFormat'
before
import dayjs from "dayjs";
and then adding this line
dayjs.extend(customParseFormat);
before of
const date = dayjs(
${record.date} ${record.time}:00, "DD-MM-YYYY HH:mm");
I am not a pro dev so I am not surfe if this solves the problem completely.
But no the next Problem is this here:
Should I open a new Issue for this?
Yes please, I know there is another issue with the DEGIRO export and I was working yesterday on fixing it, probably related.
Updated Ghostfolio now the Import works fine.
Great! So only the date issue has to be fixed in the tool now?
I've added this in #5
Hi
Since I can not respond to the old issue (https://github.com/dickwolff/DEGIRO-to-Ghostfolio/issues/1) I opened a new one here. It looks better now, but now something with the date doesn`t work.
Image:
Example JSON output
{ "accountId": "9b6128be-97ff-4d53-a7b0-ef58413e307f", "comment": "", "fee": 0.29, "quantity": 1, "type": "DIVIDEND", "unitPrice": 1.93, "currency": "USD", "dataSource": "YAHOO", "date": "Invalid Date", "symbol": "A" }