diff options
author | Joris | 2024-11-17 11:07:01 +0100 |
---|---|---|
committer | Joris | 2024-11-17 11:07:01 +0100 |
commit | 0fad55124684989ec9fd9a742b5731359d0238ce (patch) | |
tree | f90d3d4ffc1b1f5e87dbaf0cc29adad069612545 /src/gui/form/repetition.rs | |
parent | 36cd29b459bb41bff1cf6d079fd30100bd89cec1 (diff) |
Upgrade dependencies
Diffstat (limited to 'src/gui/form/repetition.rs')
-rw-r--r-- | src/gui/form/repetition.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/form/repetition.rs b/src/gui/form/repetition.rs index a83aea5..ca8379a 100644 --- a/src/gui/form/repetition.rs +++ b/src/gui/form/repetition.rs @@ -197,7 +197,7 @@ pub fn validate( // Check until let until = (if frequency.is_some() { - match validation::non_empty(model.until.buffer().text()) { + match validation::non_empty(model.until.buffer().text().to_string()) { Some(until) => match NaiveDate::parse_from_str(&until, event::DATE_FORMAT) { Ok(until) => Ok(Some(until)), Err(_) => Err(format!("Can’t parse date from {}", until)), |