pub fn convert_date_format(input: &str) -> StringExpand description
Converts date strings from various formats to “YYYY-MM-DD”.
Supports conversion from “DD MMM YYYY” format and checks if input is already in target format.
§Arguments
input- A string slice representing the input date.
§Returns
A string representing the date in “YYYY-MM-DD” format, or the original input if conversion is not applicable.