Fixed format_bustime docsting

pull/3/head
Christopher Usher 6 years ago
parent 4c22edf2e6
commit 8f462f5926

@ -50,6 +50,9 @@ def format_bustime(bustime, round="millisecond"):
110:50 110:50
159:59:59.999 159:59:59.999
-10:30:01.100 -10:30:01.100
Negative times are formatted as time-until-start, preceeded by a minus
sign.
eg. "-1:20:00" indicates the run begins in 80 minutes.
""" """
sign = '' sign = ''
if bustime < 0: if bustime < 0:

Loading…
Cancel
Save