Use d/m/Y H:i:s format for stats updated timestamp

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shuki
2026-03-05 07:33:20 +02:00
parent af55437bed
commit 19368ee2c6

View File

@@ -1621,7 +1621,7 @@ cmd_stats() {
fi
# Build JSON
local updated; updated=$(date -u +"%Y-%m-%dT%H%M%S")
local updated; updated=$(date -u +"%d/%m/%Y %H:%M:%S")
local remotes_json; remotes_json=$(IFS=','; echo "${remote_json_parts[*]}")
local json="{\"updated\":\"$updated\",\"backed_up_accounts\":$total_accounts,\"snapshots\":$total_snapshots,\"remotes\":{$remotes_json},\"last_backup\":{\"status\":\"$last_status\",\"log\":\"$last_log\"}}"