Hi, On Wednesday 11 January 2017 21:42:18 Brendan Coupe wrote:
> 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??? Yes. It receives a 0 from libOFX and then continues from there on. Somewhere down the line there must be a subtraction (timezone, I have no idea yet) that causes the date to be the last day of 1969. In case of a missing DTEND (not DTSTOP) one could search for the last date of a valid transaction or some such. Anyway, it seems that DTSTART and DTEND are optional even in responses. -- Regards Thomas Baumgart GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA ------------------------------------------------------------- Linux - Life is too short for reboots -------------------------------------------------------------
signature.asc
Description: This is a digitally signed message part.