Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wssheldon committed Mar 10, 2024
1 parent e788800 commit f7954ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ui/virustotal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,10 @@ where
// Convert from Epoch time to 1900-01-01 00:00:00 format
let date = DateTime::from_timestamp(comment.attributes.date.try_into().unwrap(), 0);
comments.push(Spans::from(vec![Span::styled(
format!("{}", date.expect("Unknown Date").format("%Y-%m-%d %H:%M:%S")),
format!(
"{}",
date.expect("Unknown Date").format("%Y-%m-%d %H:%M:%S")
),
Style::default().add_modifier(Modifier::BOLD),
)]));

Expand Down

0 comments on commit f7954ea

Please sign in to comment.