This commit is contained in:
Joscha 2021-12-15 19:16:25 +00:00
parent 5869e50bf5
commit 261c304268

View file

@ -227,6 +227,7 @@ impl fmt::Display for Statement {
impl fmt::Display for DoneDate { impl fmt::Display for DoneDate {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
// TODO Convert to Dates and back to remove redundant dates?
match self { match self {
DoneDate::Date { root } => write!(f, "{}", root), DoneDate::Date { root } => write!(f, "{}", root),
DoneDate::DateTime { root, root_time } => write!(f, "{} {}", root, root_time), DoneDate::DateTime { root, root_time } => write!(f, "{} {}", root, root_time),