Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative duration of workout #87

Open
selfawaresoup opened this issue Apr 4, 2023 · 2 comments
Open

Negative duration of workout #87

selfawaresoup opened this issue Apr 4, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@selfawaresoup
Copy link

Describe the bug
i recorded a cycling workout today and it ended up having a negative duration which in turn messed up a lot of the other stats, like calories per minute.

Start and end time are shown correctly though.

To Reproduce

I don’t know how to reproduce this bug, it’s the first time this has happened for me.

Expected behavior
Duration should be positive and match the actual duration between start and end time

Screenshots
IMG_0874
IMG_0875

Device Information (please complete the following information):

  • iPhone: 13 mini
  • OS: iOS 16.4
  • Version 1.3
@selfawaresoup selfawaresoup added the bug Something isn't working label Apr 4, 2023
@selfawaresoup
Copy link
Author

Got some more info on this: it seems to only happen when a workout is paused for a significant amount of time.

@Shrinks99
Copy link

Have also experienced this issue, it seems to occur when you manually pause a workout and forget to unpause it.

One possible half solution for this might be to send a notification to the user if the device is in motion (tracking steps or movement) for a significant amount of time after the user has paused reminding them that they still have a workout in progress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants