Bug(?) report: Sorting of old profiles

Post Reply
krrrcks
Posts: 6
Joined: Tue Apr 23, 2013 7:42 pm

Bug(?) report: Sorting of old profiles

Post by krrrcks »

Hi, I play with mudlet v2.1 on Ubuntu 13.04 and the date format in the Connect-dialog for old profiles is in German. But the ordering of the entries is a bit strange; translated to English it is:
...
4th April
5th May
6th May
...
17th May
18th April
...
To me it seems that it doesn't order by year, month, day but only by day.

Kind regards,
Krrrcks

User avatar
Vadi
Posts: 5041
Joined: Sat Mar 14, 2009 3:13 pm

Re: Bug(?) report: Sorting of old profiles

Post by Vadi »

That's very odd. Could you show a screenshot of this as well? of the menu popped out.

krrrcks
Posts: 6
Joined: Tue Apr 23, 2013 7:42 pm

Re: Bug(?) report: Sorting of old profiles

Post by krrrcks »

Here is a screenshot.
Attachments
dateordering.png

User avatar
Vadi
Posts: 5041
Joined: Sat Mar 14, 2009 3:13 pm

Re: Bug(?) report: Sorting of old profiles

Post by Vadi »

Hmm. I tried this on Ubuntu 13.04 with a German locale, but it sorted it right:
Workspace 1_009.png
Workspace 1_009.png (61.34 KiB) Viewed 5463 times
So it doesn't seem to be a problem with that setup pre-se. I'm not sure atm what is going wrong here, I'll get back to you.

krrrcks
Posts: 6
Joined: Tue Apr 23, 2013 7:42 pm

Re: Bug(?) report: Sorting of old profiles

Post by krrrcks »

Well, I have no idea how this ordering works, but I looked into the "current" folder with the XML files and attached is a screenshot of the file names. It seams they are named DD-MM-YYYY#hh-mm-ss.xml. Maybe here is the answer? Perhaps they should be named YYYY-MM-DD...? Maybe (I do not know) the profile dialog just orders the entries by file name?
Attachments
profile2.png
profile2.png (11.82 KiB) Viewed 5463 times

User avatar
Vadi
Posts: 5041
Joined: Sat Mar 14, 2009 3:13 pm

Re: Bug(?) report: Sorting of old profiles

Post by Vadi »

That sorting is fine, that is how Mudlet stores it in every language. It doesn't use the file name either, it uses the "last changed" meta property of a file if I remember correctly.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Bug(?) report: Sorting of old profiles

Post by Heiko »

@ vadi
Yes, clearly broken on Debian SID also. Seems like yet another new Qt regression.

@krrr
Yes, the file names are in Geman date format.

Post Reply