OFX Import Bug
Brendan Coupe
brendan at coupeware.com
Thu Jan 12 05:42:18 UTC 2017
By convert I meant that KMM converted the end date that it receives from
the OFX download into the enddate the appears in my ledger and also appears
in the text file in the thb folder.
I created the file that Thomas mentioned and was surprised there is no
field called <DTSTOP>. There is a field called <DTSTART>. I check a
different OFX file from the KMM download that works correctly and it is
missing the <DTSTOP> field.
The manually downloaded OFX files do have the <DTSTOP> field.
How does KMM come up with the enddate in the thb text file when there is no
<DTSTOP> field in the OFX file? This is probably where the bug can be
found???
*----Brendan*
On Wed, Jan 11, 2017 at 9:29 AM, Jack <ostroffjh at users.sourceforge.net>
wrote:
> On 2017.01.11 02:54, Brendan Coupe wrote:
>
>> No, you reversed them. <DTEND>20170110000000 from the manually
>> downloaded OFX file is being converted to 1969.12.31.
>>
>> From the other bank <DTEND>20141212210000 from the manually downloaded
>> OFX file ends up being the day before the oldest transaction in the txt
>> file. This makes no sense and I have only seen this twice so there may be
>> something else going on.
>>
> Brendan,
>
> This has me confused. When you say "converted to" do you mean that when
> you manually import the downloaded file, the 201701100000 in the file shows
> up as 1969.12.31 after import? Or, when you do the direct connect
> download/import of the same set of transactions, the date is 1969? This
> is an important distinction, as the first thing for us is to be sure KMM is
> using the date actually specified in the downloaded/imported source.
> Separately, if the downloaded date is not correct, but KMM is importing
> what it sees, we can consider finding a way for KMM to recognize that
> situation and then consider applying some "correction."
>
> Using Thomas' suggestion of using ofxlog.txt to capture what the bank
> sends for a direct connect does seem to be the next step in tracking this
> down.
>
> Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20170111/f01c83db/attachment.html>
More information about the KMyMoney-devel
mailing list