mirror of
https://github.com/RGBCube/GDUS
synced 2025-07-28 13:37:45 +00:00
Remove useless cast
This commit is contained in:
parent
c521ad4e82
commit
f489bf90d6
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ async fn view(data: Data<SqlitePool>) -> web::Result<Markup> {
|
|||
.map(|(date_time, message, led)| {
|
||||
let local_time = Local.from_local_datetime(&date_time).unwrap();
|
||||
(
|
||||
local_time.timestamp() as i64,
|
||||
local_time.timestamp(),
|
||||
local_time.format("%Y/%m/%d %H:%M").to_string(),
|
||||
message,
|
||||
led,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue