Show More
@@ -1284,5 +1284,4 b' def _format_time(timespan, precision=3):' | |||
|
1284 | 1284 | order = min(-int(math.floor(math.log10(timespan)) // 3), 3) |
|
1285 | 1285 | else: |
|
1286 | 1286 | order = 3 |
|
1287 |
ret |
|
|
1288 | return ret | |
|
1287 | return u"%.*g %s" % (precision, timespan * scaling[order], units[order]) |
General Comments 0
You need to be logged in to leave comments.
Login now