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

List:       kde-commits
Subject:    Re: kdelibs/kio
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-05-30 15:28:55
[Download RAW message or body]

On Tue, May 30, 2000 at 10:29:22AM -0400, pbrown@redhat.com wrote:
> On Tue, 30 May 2000, David Faure wrote:
> 
> > > Modified Files:
> > > 	defaultprogress.cpp uiserver.cpp 
> > > Log Message:
> > > formatTime doesn't work well here.  Thought it would, but it looks
> > > strange.
> > 
> > Isn't this rather the KLocale problem (due to dollar expansion) ?
> > 
> > I'd advise about fixing the problem at the heart rather than
> > working around ;-)
> 
> No, it is because formatTime returns something on the order of "12:03
> am" whereas the toString method of QTime returns "00:03".  When used for
> "time remaining" the 2nd form makes much more sense.  It isn't an
> absolute time we are interested in per se but a relative time, and the
> locale stuff doesn't even have that concept.

Ah I see. Well spotted  :)

Hehe, this wouldn't happen if in English you didn't use the same word ("time")
for both "temps" and "heure" ;-)

In fact it should be "duration remaining" here, or so ;-))

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today

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

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