From 1db5537d0457a3c2fb3e409278a7ffeff6567cd9 Mon Sep 17 00:00:00 2001 From: Arnaud AMBROSELLI Date: Mon, 29 Jul 2024 15:52:17 +0200 Subject: [PATCH] fix: result_date iso date --- api-node/src/aggregators/bathing_water.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-node/src/aggregators/bathing_water.ts b/api-node/src/aggregators/bathing_water.ts index 75defe9d..c91404e8 100644 --- a/api-node/src/aggregators/bathing_water.ts +++ b/api-node/src/aggregators/bathing_water.ts @@ -164,7 +164,7 @@ export async function getBathingWaterIndicator() { id_carte: idCarte, isite: site.isite, name: site.nom, - result_date: scrapingResult.result_date, + result_date: dayjs(scrapingResult.result_date).toISOString(), result_value: scrapingResult.result_value, swimming_season_start: scrapingResult.swimming_season_start, swimming_season_end: scrapingResult.swimming_season_end,