Date Value Being Extracted

We have a retrained ML invoice model on-premise. Upon running the skill the model interchange the day and month if the day is less than 12.


Sample 1 and 2 got the correct format which is Day - Month - Year. but sample 3 extracted it as Month - Day - Year.

But upon using the pre-trained invoice model in the cloud, it extracted the sample as day - month - year