format date and includeSeconds

Carles Pina i Estany carles at
Mon Jul 28 13:08:59 BST 2008

Hello again,

On Jul/28/2008, David Jarvie wrote:
> On Friday 25 July 2008 21:08, Carles Pina i Estany wrote:
> > I have a small issue in KMail, and tracing it I got to the file:
> > kdelibs/kdecore/localization/klocale.cpp
> >
> > "Problem": when kmail has a mail with this date (checking the headers):
> > Date: Sun, 6 Jul 2008 15:54:45 +0200
> > (for example)
> >
> > In the kmail standard view I get this date:
> > 06-07-08 15:54
> >
> > In my opinion it should say 15:55, not 15:54.
> I'd say that the first thing to discuss is whether it _should_ say 15:55
> instead of 15:54, and that discussion should be on the kde-pim list, not
> kde-core-devel. I wouldn't normally expect rounding to be applied to
> times, so if any rounding needs to be done, IMHO it should be done by
> KMail before calling the function in klocale.cpp.

What I wanted to say in my previous mail: I don't expect that rounding
is applied... if it's not necessary. If includeSeconds=false I expect
that kde-core makes the work as better as possible and then I expect

Thank you,

Carles Pina i Estany		GPG id: 0x17756391
KDE PIM mailing list kde-pim at
KDE PIM home page at

More information about the kde-core-devel mailing list