mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-02 14:03:12 +00:00
Use unwrap() in format()
This commit is contained in:
parent
cc2268fc4a
commit
3d2eb4b04f
@ -295,7 +295,7 @@ fn ui<B: Backend>(f: &mut Frame<B>, app: &App) {
|
||||
.map(|message| {
|
||||
let content = vec![Spans::from(Span::raw(format!(
|
||||
"[{} - {}]: {}",
|
||||
message.timestamp().format("%d-%m-%y %H:%M"),
|
||||
message.timestamp().unwrap().format("%d-%m-%y %H:%M"),
|
||||
message.nick(),
|
||||
message.message()
|
||||
)))];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user