Skip to content

Commit

Permalink
fixed the date for the log
Browse files Browse the repository at this point in the history
  • Loading branch information
bryangerlach committed Oct 11, 2023
1 parent fb78a49 commit 1bdb13e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified db_v2.sqlite3
Binary file not shown.
2 changes: 1 addition & 1 deletion src/webs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ async fn log(req: HttpRequest) -> impl Responder {
</tr>
"#,
match &log.logged_at {
Some(lat) => lat.to_string(),
Some(lat) => get_local_datetime(*lat),
None => String::from_utf8("unknown".as_bytes().to_vec()).unwrap(),
},
match &log.from_ip {
Expand Down

0 comments on commit 1bdb13e

Please sign in to comment.