mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
patch from Aldy to fix interval durations that display as XX:60
This commit is contained in:
@@ -71,7 +71,7 @@ static void summarize(QString &intervals,
|
||||
unsigned &int_mph_cnt,
|
||||
double &int_mph_sum)
|
||||
{
|
||||
double dur = time_end - time_start;
|
||||
double dur = round(time_end - time_start);
|
||||
double len = mile_end - mile_start;
|
||||
double minutes = (int) (dur/60.0);
|
||||
double seconds = dur - (60 * minutes);
|
||||
|
||||
Reference in New Issue
Block a user