Skip to content

Commit

Permalink
Pass the auto-cancel date in yyyy-MM-dd HH:mm:ss.SSS format
Browse files Browse the repository at this point in the history
  • Loading branch information
dixitdeepak committed Aug 7, 2024
1 parent 4622b45 commit ca58dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/co/hotwax/order/routing/OrderRoutingServices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
Expand Down

0 comments on commit ca58dc8

Please sign in to comment.