def duration_to_minutes()

in utils/datetime.py [0:0]


def duration_to_minutes(hhmm: str) -> int:
    # Pretalx FRAB format: "HH:MM"
    if not hhmm:
        return 0
    h, m = map(int, hhmm.split(":"))
    return h * 60 + m