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

List:       kde-pim
Subject:    Re: [Kde-pim] KCal::Calendar sortEvents
From:       Allen Winter <winter () kde ! org>
Date:       2008-10-02 12:48:49
Message-ID: 200810020848.49804.winter () kde ! org
[Download RAW message or body]

On Wednesday 01 October 2008 00:22:25 ron wrote:
> Hi all,
> I was working on the issues identified in Bug 170894: 	"month printout is hard 
> to read"...
> One of the problems is that the calendar event sorting 'sortEvents()' is not 
> returning the event in date & time order -  only date.  While it's easy 
> enough to fix this in the printing it will certainly pop up in several places 
> and is better to take care of in one place.
> 
> My thought was to add another eventSortField enum entry called 
> EventSortStartDateTime.
> 
> Question: is this the right thing to do?
> 
> Using EventSortStartDate compares two KDateTime objects but the resulting 
> sorted list is only in date & summary order (the first sort done).
> 
I think the right thing to do is fix EventSortStartDate to take the date & time into consideration.
My bad.  I wrote this stuff.

_______________________________________________
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