Function order_date_components

Source
pub fn order_date_components(date: &str) -> (String, String, String)
Expand description

Pushes the longest number in a date to the end, if there is one. Necessary to ensure the year is the last number.