add ff support to rendering

This commit is contained in:
Dominic 2023-10-30 21:38:16 +01:00
parent 4efbe0c44e
commit e36f13f11b
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
3 changed files with 34 additions and 19 deletions

View file

@ -77,7 +77,7 @@ pub fn format_date_long(d: Date) -> String {
format!("{:02}. {month} {:04}", d.day, d.year)
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, PartialOrd, Ord)]
pub struct Time {
pub seconds: u32,
pub micros: u32