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

List:       kde-pim
Subject:    Re: [Kde-pim] akonadi server : date format issue
From:       Bertjan Broeksema <b.broeksema () home ! nl>
Date:       2008-09-01 22:38:28
Message-ID: 200809020038.28925.b.broeksema () home ! nl
[Download RAW message or body]

On Monday 01 September 2008 20:11:20 Kevin Krammer wrote:
> On Monday 01 September 2008, Bertjan Broeksema wrote:
> > > When the akonadi server is run under another locale than "C"/"en_XX",
> > > its answers to FETCH commands have a localized date. Under a French
> > > locale, you can get "14-août-2008 21:40:20 +0000" instead of
> > > "14-Aug-2008 21:40:20 +0000".
> >
> > I don't see a reason to include <qdebug.h> in
> > kdesupport/akonadi/server/src/handler/fetch.cpp but for the rest it looks
> > okay to me.
>
> I have to admit that I don't have the slightest idea what this datetime is
> used for at this level,

It is the last modification time of the the item.

> but wouldn't it be better to just transmit it as
> Qt::ISODate or at least use a very similar format string, e.g."yyyy-MM-dd
> hh:mm:ss"?

I discussed back then with Volker and he preferred a format that could be 
parsed by the imap parser. (Don't remember the actual class/method right now 
but there is some parsing code in server or kdepimlibs/akonadi I think).

> Cheers,
> Kevin


Bertjan
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

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

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