pub fn validate_ymd(date: &str) -> Result<&str, String>Expand description
Check that a --after / --before value is a plain YYYY-MM-DD date.
Sources reshape it into whatever their API wants, but they all reject the same malformed input, and they should reject it before the request goes out rather than passing it along for the server to misinterpret.