def seconds_to_timelimit(seconds: int) -> str:
    'Convert seconds into a Slum-notation time limit for the ABINIT flag `--timelimit`.\n\n    :param seconds: time limit in seconds\n    :returns: Slurm-notation time limit (hours:minutes:seconds)\n    '
    days = (seconds // 86400)
    seconds -= (days * 86400)
    hours = (seconds // 3600)
    seconds -= (hours * 3600)
    minutes = (seconds // 60)
    seconds -= (minutes * 60)
    timelimit = ''
    if (days > 0):
        timelimit += f'{days}-'
    if (hours > 0):
        timelimit += f'{hours:02d}:'
    timelimit += f'{minutes:02d}:{seconds:02d}'
    return timelimit
Convert seconds into a Slum-notation time limit for the ABINIT flag `--timelimit`.

:param seconds: time limit in seconds
:returns: Slurm-notation time limit (hours:minutes:seconds)
def seconds_to_timelimit(seconds: int) -> str:
    'Convert seconds into a Slum-notation time limit for the ABINIT flag `--timelimit`.\n\n    :param seconds: time limit in seconds\n    :returns: Slurm-notation time limit (hours:minutes:seconds)\n    '
    days = (seconds // 86400)
    seconds -= (days * 86400)
    hours = (seconds // 3600)
    seconds -= (hours * 3600)
    minutes = (seconds // 60)
    seconds -= (minutes * 60)
    timelimit = 
    if (days > 0):
        timelimit += f'{days}-'
    if (hours > 0):
        timelimit += f'{hours:02d}:'
    timelimit += f'{minutes:02d}:{seconds:02d}'
    return timelimit