Fix "ValueError: Unknown format code 'd' for object of type 'float'" when (timeout % 60) is a float