I need to change the date format with DD-MM-YY for English language for country India. But I am unable to get locale for DD-MM-YY in English language in trinidad-config.xml. I have tried with other region for achieving the date format. But it changes the language for input date in ADF.
<formatting-locale>da-DK</formatting-locale>
But I want only date format to be change not the language. The language should remain English.
in faces-config.xml,
<default-config>en</<default-config>
But this also does not help.
Even I have a filter class and tried to achieve the language to be changed back to English.
Locale.setDefault(Locale.ENGLISH);
On printing the locale in the console, it shows en-US (if not programmatically) and en (if programmatically above code is set).
But its also not affecting the input date.