pub fn validate_format(fmt: &str) -> Result<(), String>
Validates a strftime format string by checking for any unrecognized specifiers. Returns Ok(()) if the format is valid, or Err(message) if not.
Ok(())
Err(message)