diff --git a/rowers/tests/testdata/testdata.tcx.gz b/rowers/tests/testdata/testdata.tcx.gz index e146cea0..7eecf2ed 100644 Binary files a/rowers/tests/testdata/testdata.tcx.gz and b/rowers/tests/testdata/testdata.tcx.gz differ diff --git a/rowers/utils.py b/rowers/utils.py index 2d697c0c..f403630c 100644 --- a/rowers/utils.py +++ b/rowers/utils.py @@ -480,6 +480,9 @@ def totaltime_sec_to_string(totaltime, shorten=False): if np.isnan(totaltime): return '' + if totaltime < 0: + totaltime = -totaltime + fmt = '{H:02}:{M:02}:{S:02}.{t}' if shorten: fmt = '{H}:{M:02}:{S:02}'