Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
Suresh Kumar
Arabic Date Format
April 28, 2013 12:29 AM

Suresh Kumar

Rank: Junior Member

Posts: 41

Join Date: May 9, 2012

Recent Posts


THe actual Date format we are getting DB is 'dd MMMM yyyy' (ex: 10 October 2012) and its correct as per client requirment. But when we are trying to change the language to arabic, it is displaying as follows:
October 2012 التأشية المفعول حتي : 10

If I debug, At controller level, we are getting the correct format (for arabic version as well) but at JSP level, it is changing to the above (underlined) format.

At jsp we are using the following code.
<div class="control-group">
<span class="abc"><liferay-ui:message key="valid-until-exit-before" />: ${responseBean.visaBean.exitBeforeGregorianDate}</span>

Any suggestions please.


Participate in the State of Liferay Community 2017. Help the community and even win some prizes!