Created attachment 68367 [details] screenshot that shows the problem Version: unspecified (using KDE 4.8.0) OS: Linux Sorting the tasks by "Due Date" doesn't work correctly. It certainly changes the sort order, but it's not in the correct order. Reproducible: Always Steps to Reproduce: * add some actions to a project * assign due dates to the actions * click on the "Due Date" column header to set the sorting order Actual Results: Tasks are ordered as Feb 1, Jan 31, Feb 7, Feb 6 Expected Results: Tasks should be ordered chronologically: Jan 31, Feb 1, Feb 6, Feb 7 OS: Linux (x86_64) release 3.0.0-15-generic Compiler: gcc
Git commit 4135a9d4f9f8e4a67dd3deb348fbebfbdb8e888a by Matthias Kretz. Committed on 01/02/2012 at 18:03. Pushed by mkretz into branch 'master'. fix sorting by due date Since this method returned a QString instead of a QDate the sorting was according to the textual date representation. So, basically Fri, Mon, Sat, Sun, Thu, Tue, Wed. This must return a QDate to function properly. Formatting the QDate for display must be done in the Delegate. M +1 -1 src/todomodel.cpp http://commits.kde.org/zanshin/4135a9d4f9f8e4a67dd3deb348fbebfbdb8e888a