Skip to content

Conversation

@ChrJohansen
Copy link
Collaborator

@ChrJohansen ChrJohansen commented Aug 27, 2025

WHAT

Use the TotalHours property of the TimeSpan , not Hours

WHY

Bugfix - The challenge stats for time challenges was wrong

HOW

  1. Checkout this branch and run it
  2. Create a time challenge
  3. Add enough activities such that the time elapsed for an athlete becomes more than 24 hours
  4. Verify that the stats does NOT circle the 24 hour interval

Copy link
Owner

@veloek veloek left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ChrJohansen ChrJohansen merged commit 842273d into main Aug 28, 2025
@ChrJohansen ChrJohansen deleted the fix-time-accumolation branch August 28, 2025 05:58
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.

3 participants