My Oracle Support Banner

<af:convertDateTime> Doesn't Change The Date Format According The Current Locale In Portlet. (Doc ID 1457203.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle WebCenter Portal - Version 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


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.