diff --git a/bin/domain/imag-contact/src/create.rs b/bin/domain/imag-contact/src/create.rs index 52d75869..3394b9c4 100644 --- a/bin/domain/imag-contact/src/create.rs +++ b/bin/domain/imag-contact/src/create.rs @@ -178,6 +178,16 @@ fn parse_toml_into_vcard(toml: Value) -> Option { } } + { // parse personal + debug!("Parsing person information"); + let birthday = read_str_from_toml(&toml, "person.birthday"); + trace!("birthday = {:?}", birthday); + + if let Some(bday) = birthday { + vcard = vcard.with_bday(parameters!(), bday); + } + } + { // parse nicknames debug!("Parsing nicknames"); match toml.read("nickname").map_err_trace_exit_unwrap(1) {