[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Bug #76679
From:       Brad Hards <bhards () bigpond ! net ! au>
Date:       2004-07-16 9:33:34
Message-ID: 200407161933.36871.bhards () bigpond ! net ! au
[Download RAW message or body]

On Fri, 16 Jul 2004 10:51 am, James Richard Tyrer wrote:
> > Have a look at kspread/kspread_value.*
> > These hold the value information. Looks like the date/time is
> > represented as a floating-point value, with dates being the integer
> > part and time the floating part, the conversion to and from it then
> > introduces this problem. Shouldn't be hard to fix, I'm just not sure
> > if other parts of the code don't depend on the fact that time = float
>
> The problem is with the code that formats the number into a "Time" format.
I've had a quick look - you can see strOutText and strText being set in the 
tryParseTime() function. 
It might be a matter of looking in kdelibs/kdecore/klocale.[cpp,h] as well, to 
make sure the transition from string to QDate is being handled correctly.

Brad
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic