Feature #1285: Change output style for time periods, e.g. 05h30m instead of 05:30

(cherry picked from commit 2c41b2f0df)
This commit is contained in:
Carlos Martín committed 2012-07-05 17:23:52 +02:00
1 parent 1d1fec2819
commit 996b996201
1 file changed
+2 -2
+2 -2
View File
@@ -376,9 +376,9 @@ EOT
days, hours=hours.divmod(24)
if print_seconds
"%3dd %02d:%02d:%02d" % [days, hours, minutes, seconds]
"%3dd %02dh%02dm%02ds" % [days, hours, minutes, seconds]
else
"%3dd %02d:%02d" % [days, hours, minutes]
"%3dd %02dh%02dm" % [days, hours, minutes]
end
end