def METHOD_NAME(root, index, start, end):
    # Don't include start because it's not needed
    return etree.SubElement(
        root,
        "day",
        index=str(index),
        date=start.strftime("%Y-%m-%d"),
        end=end.isoformat(),
    )