Closed EmersonPinheiro closed 3 years ago
@EmersonPinheiro It seems like any value after 60 minutes has this bug
:
That may give you a clue on how to solve this bug or someone
Cool. I can work on this. :)
Which one of the following approaches do you like more for showing the stats to the user?
@EmersonPinheiro The 1st one is good but make sure to put a space between 1h and 30m so its 1h 30m
. And if it isn't passed an hour ideally have it say 30 minutes
with the full word. And same thing if its exactly a multiple of 1 hour have it say 1 hour
or 2 hours
You should write some unit tests for this function that does this if you know how / or want to learn how
Before reporting:
Steps to reproduce:
Scenario 1
Expected behaviour: The 'Listened' stat should show '65 minutes' (or 1 hour and 5 minutes).
Actual behaviour: 'Listened' stat shows 5 minutes.
Scenario 2
Expected behaviour: The 'Listened' stat should show '60 minutes' (or 1 hour).
Actual behaviour: 'Listened' stat shows 0 minutes.
Smartphone (please complete the following information):
Screenshots/Recording:
Scenario 1