Set of administration tools for 42l's infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
234 B

use crate::db_structs::*;
pub fn adh_date_format_opt(adh: Option<&Adhesions>) -> String {
if let Some(inner_adh) = adh {
format!("{}", inner_adh.adh_date.format("%B %d, %Y"))
} else {
"N/A".to_owned()
}
}