flyingcircusio / backy

3 stars 1 forks source link

`backy check` and `backy status` appear to output different time zones #66

Closed osnyx closed 5 months ago

osnyx commented 5 months ago

seen in backy-2.5.1dev0:

backy check:

2024-05-29T19:36:56.303331 1924551 C redacted00 daemon/check-sla-violation last_time='2024-05-28 04:47:54.749521+00:00'

backy status:

| 2024-05-28 06:47:54 | 5NS6ovFuGEupcjEBB5uzBQ | 5.3 GiB | 8 hours | daily | trusted |

ctheune commented 5 months ago

backy check is a machine interface primarily. as long as timezones are marked up (the table in status shows Europe/Berlin; the check shows +00:00) i'm fine with it being different.

osnyx commented 5 months ago

For backy status, the timezone is indeed not marked up, see output above.

dhnasa commented 5 months ago

It is included in the header:

┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━┓
┃ Date (Europe/Berlin) ┃ ID                     ┃     Size ┃   Duration ┃ Tags     ┃ Trust   ┃ Server ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━┩
│ 2024-06-12 13:56:18  │ YGcGc7aXXPMPEApSgubdC4 │ 10.0 GiB │ 18 seconds │ manual:a │ trusted │        │
└──────────────────────┴────────────────────────┴──────────┴────────────┴──────────┴─────────┴────────┘
osnyx commented 5 months ago

Ah, sorry then, that works for me as well.