QIF import shows wrong dates

Bug #758281 reported by scott anderson
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Medium
Maxime DOYEN

Bug Description

Import QIF shows wrong dates in import window, sometimes off by three to four months. When I open the QIF file the dates are correct from the downloaded bank statement. Basically 04/01/2011 from the bank shows up as 01/04/2011 in Homebank...

Revision history for this message
scott anderson (lwarranty) wrote :

Also does not recognize OFX or CVS statements downloaded from my bank whereas earlier releases did / worked fine! Compiled on Debian "Wheezy" using Homebank 4.4 source downloaded from Homebank site...

Revision history for this message
scott anderson (lwarranty) wrote :

Recompiled with latest squeeze and wheezy environments, ofx import works now (libofx-dev?) HOWEVER regardless of date tolerance in the import window, it will try to import existing entries. No rhyme nor reason, hitting refresh, etc if you import, it will add some redundant entries with the same information, date, amounts, payee name as. QIF import is inverting month/day - still no solution yet...

Maxime DOYEN (mdoyen)
Changed in homebank:
assignee: nobody → Maxime Doyen (mdoyen)
importance: Undecided → Low
milestone: none → 4.4.1
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

Can you enable DEBUG into imp_qif.c file , recompile and launch into a terminal, then import your qif file, an post here as attachment the log of the console ?

Changed in homebank:
status: New → Incomplete
Maxime DOYEN (mdoyen)
Changed in homebank:
milestone: 4.4.1 → 4.5
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

This is probably a bad date format recognition DD/MM/YY instead of MM/DD/YY

Revision history for this message
Raphael Camus (raphael-camus) wrote :

I used to have the same issue in the past and so had to start from an old .xhb backup (which was OK) and reimport a big qif file (and redo my categories,.. which hopefully were not really up-to-date).
I faced the issue again today (hopefully now I am making a backup after each import).

What I have noticed is that :
- Dates in my qif files are in MM/DD/YYYY format (ex: D11/04/2011), which I think is a qif standard, is it ?
- If none of days are superior to 12, HomeBank imports with DD/MM/YYYY format, which in my case is wrong
- If at least one day is >12, HomeBanks imports with MM/DD/YYYY format

Can the import date format be set in settings (per account) and not guessed ? (as date guessing cannot be performed in case where both date and months are < to 12 )
Does the date format specified in the Preferences have an impact on the import date ? In my case, I have French environement with %x format.

Thanks

Changed in homebank:
status: Incomplete → New
status: New → Confirmed
Revision history for this message
Raphael Camus (raphael-camus) wrote :

I have tested changing the date format in preferences from %x (local settings - french in my case so DD/MM/YYYY) to %D (MM/DD/YY). The problem remains but the other way round...

Maxime DOYEN (mdoyen)
Changed in homebank:
importance: Low → Medium
Maxime DOYEN (mdoyen)
summary: - Homebank 4.4 QIF import shows wrong dates
+ QIF import shows wrong dates
Revision history for this message
Maxime DOYEN (mdoyen) wrote :

For v4.5, I have added a new preference parameter that let you choose between d-m-y or m-d-y, and no more rely on the guess of date format for qif files.
Adding to this is a date is invalid during import, it is showed with ??? into the transaction import list and the forward button is disabled to avois importing incorrect datas.

Changed in homebank:
status: Confirmed → Fix Committed
Maxime DOYEN (mdoyen)
Changed in homebank:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.