diff --git a/backend/src/routes/resources/main.ts b/backend/src/routes/resources/main.ts index 2fb0cfc..1d082a2 100644 --- a/backend/src/routes/resources/main.ts +++ b/backend/src/routes/resources/main.ts @@ -522,7 +522,7 @@ export default async function resourceRoutes(server: FastifyInstance) { Object.keys(data).forEach((key) => { console.log(key) - if(key.includes("_at") || key.includes("At") || key.toLowerCase().includes("date")) { + if((key.includes("_at") || key.includes("At") || key.toLowerCase().includes("date") ) && key !=="deliveryDateType") { data[key] = normalizeDate(data[key]) } })