[Kde-pim] akonadi server : date format issue

Bertjan Broeksema b.broeksema at home.nl
Mon Sep 1 23:38:28 BST 2008


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 at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list