Skip to main content

parse_date_legacy

Function parse_date_legacy 

Source
pub fn parse_date_legacy(s: &str) -> Result<Date, ParseError>
Expand description

Parses a Date from s with the frozen legacy year-month-day interpretation of ambiguous dates.

NOTE: This exists solely to keep the storage source cast CastStringToDate evaluation-stable across releases (see the stability contract in mz_storage_types::sources::casts). Use parse_date everywhere else.