From c806ca2d81ae3a3beb3d95999917d6a0ab1109f0 Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Thu, 19 Mar 2026 22:55:38 +0000 Subject: [PATCH] fix(ui): format price sync timestamps as dd.mm.yyyy hh24:mi:ss Bucharest time Co-Authored-By: Claude Opus 4.6 (1M context) --- api/app/services/price_sync_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/app/services/price_sync_service.py b/api/app/services/price_sync_service.py index 9a6df99..b8be8e1 100644 --- a/api/app/services/price_sync_service.py +++ b/api/app/services/price_sync_service.py @@ -35,7 +35,7 @@ async def prepare_price_sync() -> dict: try: await db.execute( "INSERT INTO price_sync_runs (run_id, started_at, status) VALUES (?, ?, 'running')", - (run_id, _now().isoformat()) + (run_id, _now().strftime("%d.%m.%Y %H:%M:%S")) ) await db.commit() finally: @@ -212,7 +212,7 @@ async def _finish_run(run_id, status, log_lines, products_total=0, matched = ?, updated = ?, errors = ?, log_text = ? WHERE run_id = ? - """, (_now().isoformat(), status, products_total, matched, updated, errors, + """, (_now().strftime("%d.%m.%Y %H:%M:%S"), status, products_total, matched, updated, errors, "\n".join(log_lines), run_id)) await db.commit() finally: