wmts-exfiltrator/pkg/helpers.py

7 lines
178 B
Python

def convert_seconds(seconds):
hours = seconds // 3600
seconds %= 3600
minutes = seconds // 60
seconds %= 60
return "%d:%02d:%02d" % (hours, minutes, seconds)