pub fn check_expiration(date_str: &str) -> Option<(ExpirationStatus, String)>Expand description
Parse a YYYY-MM-DD date string and classify it as expired / expiring soon / active.
Returns (status, formatted_date) where formatted_date is e.g. “Mar 15, 2026”.
The “expiring soon” threshold is EXPIRING_SOON_DAYS days (inclusive).
Returns None if the date string cannot be parsed.