From ca58dc8379b4c513cd1a95fb71a2b12f95497a17 Mon Sep 17 00:00:00 2001 From: Deepak Dixit Date: Wed, 7 Aug 2024 15:34:12 +0530 Subject: [PATCH] Pass the auto-cancel date in yyyy-MM-dd HH:mm:ss.SSS format --- service/co/hotwax/order/routing/OrderRoutingServices.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/co/hotwax/order/routing/OrderRoutingServices.xml b/service/co/hotwax/order/routing/OrderRoutingServices.xml index 4b494c6..bd9de78 100644 --- a/service/co/hotwax/order/routing/OrderRoutingServices.xml +++ b/service/co/hotwax/order/routing/OrderRoutingServices.xml @@ -521,7 +521,7 @@ } if (!clearAutoCancelDate && actionMap.get('ORA_AUTO_CANCEL_DAYS') != null) { comments += "Set the auto cancel date to ${actionMap.get('ORA_AUTO_CANCEL_DAYS')} days from now." - autoCancelDate = ZonedDateTime.now().plusDays(actionMap.get('ORA_AUTO_CANCEL_DAYS') as Long).format(DateTimeFormatter.ofPattern("yyyy-MM-dd")) + autoCancelDate = ZonedDateTime.now().plusDays(actionMap.get('ORA_AUTO_CANCEL_DAYS') as Long).format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss.SSS")) } else if (clearAutoCancelDate) { comments += "Clear the auto cancel date." }