Skip to main content

is_date_version

Function is_date_version 

Source
pub fn is_date_version(s: &str) -> bool
Expand description

Does s have the MCP YYYY-MM-DD version shape? (Cheap structural check, not a calendar validation — enough to tell a date revision from a bogus string.)