Skip to main content

parse_time_legacy

Function parse_time_legacy 

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

Parses a NaiveTime from s, resolving a string that names no time field at all to midnight.

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