From cb94116a8730ab18ff31844d59f26ccd50aac153 Mon Sep 17 00:00:00 2001 From: igurielidze Date: Mon, 30 Mar 2026 23:35:16 +0400 Subject: [PATCH] Fix resource.json timestamp: strip milliseconds for Ignition compat Ignition's JSON parser can't handle ISO timestamps with milliseconds (2026-03-30T19:31:53.623Z). Strip to seconds (2026-03-30T19:31:53Z). Co-Authored-By: Claude Opus 4.6 (1M context) --- svelte-app/src/lib/export.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svelte-app/src/lib/export.ts b/svelte-app/src/lib/export.ts index 50a27c0..202f88f 100644 --- a/svelte-app/src/lib/export.ts +++ b/svelte-app/src/lib/export.ts @@ -585,7 +585,7 @@ export async function deployToIgnition() { lastModificationSignature: signature, lastModification: { actor: 'admin', - timestamp: new Date().toISOString(), + timestamp: new Date().toISOString().replace(/\.\d{3}Z$/, 'Z'), }, }, }, null, 2);