From bd2f982c489b15ce1165c051fdedf35af979f784 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 8 Sep 2026 17:06:51 +0200 Subject: Migrate date handling from Date to Temporal API Routine scheduling, health series, service stamps, session expiry, and date formatting move to native Temporal (Instant / ZonedDateTime in UTC), with ISO strings kept at DB and chart boundaries. Ambient types in src/temporal-ambient.d.ts cover the native runtime; no polyfill. Observable behavior and stored formats are unchanged. --- src/lib/components/HealthChart.svelte | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/lib/components/HealthChart.svelte') diff --git a/src/lib/components/HealthChart.svelte b/src/lib/components/HealthChart.svelte index f1f87ed..c6121e3 100644 --- a/src/lib/components/HealthChart.svelte +++ b/src/lib/components/HealthChart.svelte @@ -1,6 +1,7 @@ @@ -60,7 +60,7 @@ props={{ xAxis: { ticks: xTicks, - format: (d: Date) => dateFormatter.format(d), + format: (d: Date) => formatDayMonth(d.toISOString()), tickLabel: xTickLabel, }, yAxis: { ticks: [25, 50, 75, 100] }, -- cgit v1.3