[Bug]: New OFX Importer: fails to parse all dates #397

Closed
opened 2026-02-28 19:02:25 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @heilerich on GitHub (May 11, 2023).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

The new OFX import logs a lot of warnings about not being able to parse all the dates in the OFX file.

ofx_sample.txt

What error did you receive?

The old importer correctly parses this into

[
    {
        "amount": 16.7,
        "imported_id": "6302",
        "date": "2023-02-01",
        "payee_name": "test",
        "imported_payee": "test",
        "notes": "test payment"
    }
]

The new importer logs parse-file.ts:110 Not able to parse date 20230201 and outputs

[
    {
        "amount": 16.7,
        "imported_id": "6302",
        "date": null,
        "payee_name": "test",
        "imported_payee": "test",
        "notes": "test payment"
    }
]

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome

Operating System

Mac OSX

Originally created by @heilerich on GitHub (May 11, 2023). ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### What happened? The new OFX import logs a lot of warnings about not being able to parse all the dates in the OFX file. [ofx_sample.txt](https://github.com/actualbudget/actual/files/11454905/ofx_sample.txt) ### What error did you receive? The old importer correctly parses this into ```json [ { "amount": 16.7, "imported_id": "6302", "date": "2023-02-01", "payee_name": "test", "imported_payee": "test", "notes": "test payment" } ] ``` The new importer logs `parse-file.ts:110 Not able to parse date 20230201` and outputs ```json [ { "amount": 16.7, "imported_id": "6302", "date": null, "payee_name": "test", "imported_payee": "test", "notes": "test payment" } ] ``` ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Chrome ### Operating System Mac OSX
GiteaMirror added the bugtransaction import labels 2026-02-28 19:02:25 -06:00
Author
Owner

@j-f1 commented on GitHub (May 20, 2023):

fyi @sinistersnare

@j-f1 commented on GitHub (May 20, 2023): fyi @sinistersnare
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#397