pub fn format_datetime_with<F: TimeZone>( time: &DateTime<F>, format_str: &str, ) -> Stringwhere F::Offset: Display,
Formats a datetime using a custom format string.