From 19368ee2c6cb31f2bb327c6a9b6779a04854b9ad Mon Sep 17 00:00:00 2001 From: shuki Date: Thu, 5 Mar 2026 07:33:20 +0200 Subject: [PATCH] Use d/m/Y H:i:s format for stats updated timestamp Co-Authored-By: Claude Opus 4.6 --- bin/gniza | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gniza b/bin/gniza index 8119a87..5f11ff4 100755 --- a/bin/gniza +++ b/bin/gniza @@ -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\"}}"