You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorting of this dates/times is done wrong.:
Sorting within teddybench by date results in wrong order.
01.02.2023 22:49:14
01.02.2023 22:52:42
02.02.2023 01:10:12
02.06.2023 00:07:54
03.01.2023 23:30:50
03.03.2023 18:46:10
06.05.2023 18:48:28
08.02.2023 22:15:10
09.02.2023 00:54:48
10.03.2023 15:25:44
....
Sorting seems to be done numeric but not by timestamp.
To reproduce Adjust Modify and Create Timestamp of files according to above examples and sort by date.
e.g. i ensured that both timestamps modify and Create are identical.
for directory as for files.
The text was updated successfully, but these errors were encountered:
Could easily be fixed in my opinion by doing the following:
int returnVal = 0;
if (Characteristic != 2)
{
returnVal = String.Compare(s1, s2);
}
else
{
// do not use the string representation to avoid wrong sort results
returnVal = DateTime.Compare(t1.FileInfo.CreationTime, t2.FileInfo.CreationTime);
}
Sorting of this dates/times is done wrong.:
Sorting within teddybench by date results in wrong order.
01.02.2023 22:49:14
01.02.2023 22:52:42
02.02.2023 01:10:12
02.06.2023 00:07:54
03.01.2023 23:30:50
03.03.2023 18:46:10
06.05.2023 18:48:28
08.02.2023 22:15:10
09.02.2023 00:54:48
10.03.2023 15:25:44
....
Sorting seems to be done numeric but not by timestamp.
To reproduce Adjust Modify and Create Timestamp of files according to above examples and sort by date.
e.g. i ensured that both timestamps modify and Create are identical.
for directory as for files.
The text was updated successfully, but these errors were encountered: