Version: 1.13.5 (using KDE 4.5.5) OS: Linux German system: If i do a Search in Kmail and got some Mails as result. I click on the upper-column-header "Date" to sort ist ASC odr DESC. German Date is like: 01.02.2011 02.02.2000 03.02.2011 And thats the Problem, seems the sorting funktion sort from first-char to last-char... thats works for 2010-01-20, but not for 20.02.2010. Here is needed to convert german date into englishdate, before sorting! Reproducible: Always Steps to Reproduce: Make a search, sort my date, if u see german date-format Actual Results: wrong sorting Expected Results: right sorting OS: Linux (i686) release 2.6.32-25-generic Compiler: cc
Created attachment 56295 [details] wrong sortorder by german date
Yes it's a bug because it filtres as a qstring and not a qdate.
SVN commit 1216178 by mlaurent: Fix Bug 263882 - Sort by Date in result of Searchdialog didn't sort in the right way Now we can sort it :) BUG: 263882 M +25 -1 searchwindow.cpp M +13 -0 searchwindow.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1216178
Git commit 80b976e31d64d63cb71a76228f6d4ad64195e945 by Laurent Montel. Pushed by tnyblom into branch '4.4'. Fix Bug 263882 - Sort by Date in result of Searchdialog didn't sort in the right way Now we can sort it :) BUG: 263882 M +25 -1 kmail/searchwindow.cpp M +13 -0 kmail/searchwindow.h http://commits.kde.org/ee6cc38b/80b976e31d64d63cb71a76228f6d4ad64195e945