Fixed syntax error.

Signed-off-by: Stiffo90 <stiffo90@gmail.com>
Added formatting to timing function.

Signed-off-by: Stiffo90 <stiffo90@gmail.com>
Initial import for kgsplit, a program for splitting etapes and routes.

Signed-off-by: Stiffo90 <stiffo90@gmail.com>
Created local hoursUTC variable to be able to call recalculateData from kgsplit

Signed-off-by: Stiffo90 <stiffo90@gmail.com>
Split line for readability. Please keep lines < 120 chars.

Route_duration_net is now correct (previously it was total pause time?)

Signed-off-by: Stiffo90 <stiffo90@gmail.com>
Pause duration is now also updated by recalculate data

Changed how total_distance_net is calculated to use total distance from etapes instead.
Otherwise the total etape distance will != net route distance

Signed-off-by: Stiffo90 <stiffo90@gmail.com>
Added new hoursUTC variable to recalculateData to make it callable from kgsplit.

Route_net_distance is now calculated as the sum of the etape distances instead. Otherwise sum(etape distances) will not equal the net route distance due to rounding errors.

RecalculateData now also updates pausedurations between etapes.

Signed-off-by: Stiffo90 <stiffo90@gmail.com>