Switching to Local timezone for 'latest report'

This commit is contained in:
2025-10-21 11:47:16 +02:00
parent 3a3d121511
commit 8fc449d36a

View File

@@ -131,7 +131,7 @@ fn get_latest () {
match res {
Ok(resultset) => {
for r in resultset {
let time : DateTime<FixedOffset> = r.get(0);
let time : DateTime<Local> = r.get(0);
let exercise : String= r.get(1);
let kilos: Decimal = r.get(2);
println!("{time} {exercise:>15} {kilos:>5}", time=time, exercise=exercise, kilos=kilos);