ui: add reltime rendering

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-02-15 13:56:07 -08:00
parent 2ce2d4cc70
commit f3201bee21
2 changed files with 35 additions and 5 deletions

View File

@@ -14,4 +14,8 @@ impl NoteCache {
);
NoteCache { reltime }
}
pub fn reltime_str(&mut self) -> &str {
return &self.reltime.get();
}
}