[Kmymoney-devel] libOFX question (relates to recent OFX failures with Chase credit card downloads)

jeffjl.kde at outlook.com jeffjl.kde at outlook.com
Fri Dec 11 20:27:02 UTC 2015


Hi Thomas,
 
>> Just changed time.tm_isdst as follows:
> Maybe this is only needed for Windows. Have not checked under Linux.

The only reason I noticed the problem is that "daylight" variable was still '1' after DST had expired and my credit card company sets the statement date (possibly violating the OFX spec) such that libofx sees it as uncorrected midnight.  So libofx was subtracting an hour from midnight, thereby making the statement look like it was for 11 PM on the previous day, and my balances wouldn't match.

> When loading the edit field in the dialog from m_fiSettings, and this value is
> empty/not present, then preset it 
 
This is why I was thinking a more complete solution than I currently have would be a button on the OFX Details page to fill the edit box with a "generated" string only at the user's request, because I'm not sure what happens if you send a <CLIENTUID> to a server that doesn't expect (or require) it. So I made libofx not send it if its length was zero (corresponding to an empty edit box), which is also good for backwards compatibility.
 
Jeff  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20151211/4a783ace/attachment.html>


More information about the KMyMoney-devel mailing list