Skip to content

Commit

Permalink
fix: presentation sort
Browse files Browse the repository at this point in the history
  • Loading branch information
berenteb committed Feb 27, 2024
1 parent 663288d commit 6358454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/conference.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ export class ConferenceService {
const aStartDate = new Date(a.startTime);
const bStartDate = new Date(b.startTime);
if (isBefore(aStartDate, bStartDate)) {
return 1;
return -1;
}
if (isAfter(aStartDate, bStartDate)) {
return -1;
return 1;
}
return 0;
});
Expand Down

0 comments on commit 6358454

Please sign in to comment.