<af:convertDateTime> Doesn't Change The Date Format According The Current Locale In Portlet.
Last updated on MARCH 08, 2017
Applies to:Oracle WebCenter Portal - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
Standard ADF code contains date-time fields which use the component to convert strings into Date based on the pattern set.
These work fine standalone, and if the browser language changes, then the date format changes
eg In English date is '03. March 2001'. After switching to portal locale=de, the value changes to '03. März 2001'
However when this ADF is consumed as a portlet, this language switching is not working.
If we switch the language for example from english to german and back, the portlets also switch their language correctly but the date column in the table (af:convertDateTime) stays in the browser language.
This is using JDeveloper 126.96.36.199.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms