def format_srt_time(sec_time):
    """Convert a time in seconds (google's transcript) to srt time format."""
    sec, micro = str(sec_time).split('.')
    m, s = divmod(int(sec), 60)
    h, m = divmod(m, 60)
    return "{:02}:{:02}:{:02},{}".format(h, m, s, micro)