diff --git a/src/pasta.rs b/src/pasta.rs index 66cd342..f514522 100644 --- a/src/pasta.rs +++ b/src/pasta.rs @@ -27,7 +27,7 @@ impl Pasta { pub fn created_as_string(&self) -> String { let date = DateTime::::from_utc(NaiveDateTime::from_timestamp(self.created, 0), Utc); format!( - "{:02}-{:02} {}:{}", + "{:02}-{:02} {:02}:{:02}", date.month(), date.day(), date.hour(), @@ -42,7 +42,7 @@ impl Pasta { let date = DateTime::::from_utc(NaiveDateTime::from_timestamp(self.expiration, 0), Utc); format!( - "{:02}-{:02} {}:{}", + "{:02}-{:02} {:02}:{:02}", date.month(), date.day(), date.hour(),