zut.parse_date

zut.parse_date(value: date | str, *, accept_localized=True)