def METHOD_NAME(value):
    if value is not None:
        parts = []
        if value.days > 0:
            parts.append(f"{value.days} days")
        minutes = value.seconds // 60
        seconds = value.seconds % 60
        if minutes > 0:
            parts.append(f"{minutes} minutes")
        if seconds > 0:
            parts.append(f"{seconds} seconds")
        if parts:
            return ", ".join(parts)
        else:
            return "0 seconds"
    else:
        return "---"