<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Sorry for this so late response but I've been really busy. Well, after some playing around, I found out that the problem importing the OFX file is related to daylight saving time and not the other kind where 5 hours were subtracted.<BR>
Now that I know what the problem is, how can I fix it? I'm not an expert, and my programming skills are basic, so I'm hoping that my Ubuntu installation has an old version of libOFX and there's a new one somewhere, with this bug fixed, that I can only compile and install (preferible just install <IMG SRC="cid:1291607747.18973.14.camel@felipe-laptop" ALIGN="middle" ALT=":)" BORDER="0">)<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
Felipe Castillo <BR>
<BR>
</TD>
</TR>
</TABLE>
On Thu, 2010-12-02 at 07:32 +0100, Thomas Baumgart wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi,
on Thursday 02 December 2010 07:11:34 Thomas Baumgart wrote:
> Hi Felipe Castillo,
>
> on Thursday 02 December 2010 00:34:28 you wrote:
> > All the dates in the file are correct. When I import the file, the
> > entries dated of 20101130 appear as 20101129 in KMyMoney and the same
> > goes for the entries dated 20101201.
>
> Yes, they are correct, but ...
>
> <DTPOSTED>20101130000000.000[-5:EDT]
>
> Is actually a timestamp with the value of 2010-11-30 00:00:00 and is
> interpreted by libOFX before it gets transported to the first code line of
> KMyMoney. This part of libOFX subtracts 5 hrs by mistake from the given
> date which leads to 2010-11-29 19:00:00. Hence you see the wrong date.
And if that is not the case you got bitten by the uninitialized daylight-
saving-time variable in the libOFX code. This will cause subtracting an hour
from the above mentioned timestamp, leaving you at 2010-11-29 23:00:00 with
the same result.
In any case, you need to fix libOFX.
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>