Hoelk
New Member
Posts: 10
|
Post by Hoelk on Nov 21, 2020 10:12:01 GMT -6
In the list of sunk ships, the sorting according date does not work as expected, it sorts the ships according the day of month only instead of chronologically.
|
|
|
Post by cabalamat on Dec 1, 2020 18:43:39 GMT -6
In the list of sunk ships, the sorting according date does not work as expected, it sorts the ships according the day of month only instead of chronologically.
It looks like it's sorting on ascii collating sequence on the date as a string. If the dates were in the format yyyy-mm-dd (and this is the only sensible format, for precisely this reason), it would sort them properly.
|
|
|
Post by williammiller on Dec 10, 2020 9:43:47 GMT -6
Thanks, will look to adjust this.
|
|