Update Problem bei #54
This commit is contained in:
@@ -522,7 +522,7 @@ export default async function resourceRoutes(server: FastifyInstance) {
|
|||||||
Object.keys(data).forEach((key) => {
|
Object.keys(data).forEach((key) => {
|
||||||
console.log(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])
|
data[key] = normalizeDate(data[key])
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user