Skip to main content

parse_mz_timestamp_legacy

Function parse_mz_timestamp_legacy 

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

Parses an mz_timestamp from s with the frozen legacy date parsing in its timestamp fallback.

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