Skip to content
Snippets Groups Projects
Commit d7dda8bd authored by Scott Berg's avatar Scott Berg Committed by Scott Berg
Browse files

Update sort comparison

parent e4c2de95
No related branches found
No related tags found
No related merge requests found
Pipeline #40927 passed
...@@ -25,10 +25,10 @@ export class DarsMetadataTableComponent { ...@@ -25,10 +25,10 @@ export class DarsMetadataTableComponent {
const aDate = new Date(a.darsAuditRunDate); const aDate = new Date(a.darsAuditRunDate);
const bDate = new Date(b.darsAuditRunDate); const bDate = new Date(b.darsAuditRunDate);
if (aDate.getTime() < bDate.getTime()) { if (aDate < bDate) {
return 1; return 1;
} }
if (aDate.getTime() > bDate.getTime()) { if (aDate > bDate) {
return -1; return -1;
} }
return 0; return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment