Skip to content

Conversation

@Rabe1402
Copy link

Fixed Docker compose for new postgress version from #1389
Did my own quick fix against irritation. Is see something simmilar was done in #1267 please use #1267
And added sorting for the dashboard to look cleaner.

…e gruped by time to make it look cleaner.

2:) On top of the standings screen there will be a disclaimer that all unplyed matches are counted as drwas.
@codecov
Copy link

codecov bot commented Dec 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.94%. Comparing base (f8458b9) to head (2fdf4a5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1488   +/-   ##
=======================================
  Coverage   94.94%   94.94%           
=======================================
  Files         120      120           
  Lines        4350     4350           
=======================================
  Hits         4130     4130           
  Misses        220      220           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.


export function compareDateTime(datetime1: string, datetime2: string) {
return parseISO(datetime1) > parseISO(datetime2);
return parseISO(datetime1).getTime() - parseISO(datetime2).getTime();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return parseISO(datetime1).getTime() - parseISO(datetime2).getTime();
return dayjs(datetime1) - dayjs(datetime2);

I try to use dayjs now everywhere since that's also what mantine uses

Copy link
Owner

@evroon evroon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I have two suggestions
Also, CI fails on typing errors: https://github.com/evroon/bracket/actions/runs/20457073860/job/58811681300?pr=1488

values.players_can_be_in_multiple_teams,
values.auto_assign_courts,
values.start_time.toISOString(),
new Date(values.start_time).toISOString(),
Copy link
Owner

@evroon evroon Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this already works right?

If not, it should just be:

Suggested change
new Date(values.start_time).toISOString(),
values.start_time,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants