Core Loot Manager DKP & EPGP & SK

Core Loot Manager DKP & EPGP & SK

1M Downloads

Wrong date sorting in history and raid tabs

Fourchaise opened this issue ยท 1 comments

commented

Context
I'm playing on the French Localization of the game.
In France and many European countries the preferred date format is DD/MM/YYYY

Bug
When I go to history tab and want to sort the loot history by date, it sorts first on the year, then on the day and finally on the month. So for example I get this :
image

Same happens in the raid tab when I want to sort raid by created date.

The 2 proposed solutions were either
-Detect localization and sort date by mm/dd/yyyy or dd/mm/yyyy automatically depending on it
-Or put an option with checkbox that changes sorting to dd/mm/yyyy when ticked.

Here is an example list if you want to implement 1st solution.

Canadian (English and French) | yyyy-mm-dd | 1998-08-13
Danish | yyyy-mm-dd | 1999-08-24
Finnish | dd.mm.yyyy | 13.08.1998
French | dd/mm/yyyy | 13/08/1999
German | yyyy-mm-dd | 1999-09-18
Italian | dd.mm.yy | 13.08.98
Norwegian | dd.mm.yy | 13.08.98
Spanish | dd-mm-yy | 13-08-98
Swedish | yyyy-mm-dd | 1998-08-13
GB-English | dd/mm/yy | 13/08/98
US-English | mm-dd-yy | 08-13-98
Thai | dd/mm/yyyy | 10/12/2009

commented

As seen with @lantisnt , it was a problem of date translation in the original translation file.
Here is my corrected one for reference.

frFR.txt