Issue: Date format on the response XML for ListOrders varies for the field “Purchase Date”
Expected Date Format: yyyy-MM-dd’T’HH:mm:ss.SSS’Z’
- This is the format returned for most orders.
However, there are a few orders where the date format changes.
Wrong Date Format Seen for few orders: yyyy-MM-dd’T’HH:mm:ss.ss’Z’
The date format is expected to be standardized to avoid transformation issues in any middleware or API consumption application.
But we see different formats returned for a few orders which is breaking our integration.
- How to resolve this issue?
- Is there a way to force a certain specific date format for the response XML?