format date and includeSeconds
Carles Pina i Estany
carles at pina.cat
Mon Jul 28 16:00:42 BST 2008
Ah, one more thing
On Jul/28/2008, Celeste Lyn Paul wrote:
> On Friday 25 July 2008 16:08:26 Carles Pina i Estany wrote:
> > Hello,
> >
> > 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.
>
> That is an incorrect way of handling time. It is in the 54th minute,
> not 55th minute. :55 implies time of :55.0 to :55.59, nothing more
> and nothing less. It is exact and should not get rounded, regardless
> if a second is displayed. So I would say Kmail is doing it right.
I will re-check, but I discovered this problem when I received one
mail that was sent at 12:32:32 (for example) and my mate said that he
received at 12:33 and my kmail time was 12:32.
He uses Thunderbird (I think), Windows and Linux version.
So Thunderbird and Kmail has a different behaviour (I will check it
tonight)
Thanks,
--
Carles Pina i Estany GPG id: 0x17756391
http://pinux.info
More information about the kde-core-devel
mailing list