Skip to main content

normalize_expiry

Function normalize_expiry 

Source
pub fn normalize_expiry(text: &str) -> Option<(u32, i32)>
Expand description

A month and year from any of “3/27”, “03/27”, “03/2027”, “0327”, “032027”, “03-2027” or “2027-03”.