DarrenZLew / FantasyFitness-1.0

4 stars 1 forks source link

Display Times as HH:MM on scoreSheet #50

Closed rruenroeng closed 7 years ago

rruenroeng commented 7 years ago

What's Wrong? Having times on two separate rows makes them more difficult to compare.

What do I Expect to Happen? Providing a single row with both minutes and hours would be easier to digest by end users.

Suggested Fix Display the times as Hours":"Minutes

Supporting Information

DarrenZLew commented 7 years ago

To update from ## hrs ## mins to HH:MM, we simply need to convert single digit HH and MM using code below: if (hr < 10) { hr = '0' + hr } if (min < 10) { min = '0' + min }

Added pull request for branch iss50.