Making formatDateTime() and readDate() ... from KLocale timezone aware

Bruno Virlet bruno at virlet.org
Wed Aug 15 09:04:59 BST 2007


On Tuesday 14 August 2007 20:19:51 David Jarvie wrote:
> On Tuesday 14 August 2007 18:06:24 David Jarvie wrote:
> > On Tuesday 14 August 2007 16:30, Bruno Virlet wrote:
> > > - formatDateTime(KDateTime) as a little issue because it supports
> > > timezone thanks to an option, but if the KDateTime is date only, it
> > > calls formatDate
> > > which doesn't support timezone, which will return a date string without
> > > timezone which is incorrect.
> >
> > This ought to be fixed - I'll look at it.
>
> AFAICS, a date-only KDateTime would output the time zone string as well.
> Are you saying it doesn't, or are you saying that your reading of the code
> is that it doesn't?
Nevermind, I reread the code this morning and it's ok. Sorry.

What about the fact that we generally want the timezone to be appended only if 
it is not the user timezone ?

Bruno




More information about the kde-core-devel mailing list