wmts-exfiltrator/pkg/helpers.py

7 lines
178 B
Python
Raw Normal View History

2023-11-10 23:41:01 -07:00
def convert_seconds(seconds):
hours = seconds // 3600
seconds %= 3600
minutes = seconds // 60
seconds %= 60
return "%d:%02d:%02d" % (hours, minutes, seconds)