format_date $_XDOLOCALE showing wrong date format for past dates
Hello Experts,
I am using the below in one of my date RTF tags to get proper format based on French lang settings:
<?xdoxslt:format_date(TRX_DATE,'DD-MMM-YY','DD-MMM-YY', $_XDOLOCALE, $_XDOTIMEZONE)?>
its working fine for all the dates in year 2017.
Dates in 2017
01-JAN-17
12-MAR-17
I have couple of records from 2016 and 2015 which are displayed wrongly. I have even checked my XML data file, the dates are coming correctly:
Wrong dates
361-DEC-16
362-DEC-15
could you please let me know if i am missing some thing?
Regards
KK