diff --git a/src/listing.rs b/src/listing.rs index f5457b1..f998481 100644 --- a/src/listing.rs +++ b/src/listing.rs @@ -205,7 +205,7 @@ impl fmt::Display for Listing { }, )?; match NaiveDateTime::from_timestamp_opt(self.mtime as i64, 0) { - Some(dt) => write!(f, "{dt}")?, + Some(dt) => write!(f, "{dt} ")?, _ => write!(f, "{:>19} ", self.mtime)?, } match self.kind { @@ -324,7 +324,7 @@ impl Listing { }, ); match NaiveDateTime::from_timestamp_opt(self.mtime as i64, 0) { - Some(dt) => print!("{dt}"), + Some(dt) => print!("{dt} "), _ => print!("{:>19} ", self.mtime), } let mut stdout = StandardStream::stdout(ColorChoice::Auto);