J
J
justboris2012-06-07 10:14:10
Java
justboris, 2012-06-07 10:14:10

How to localize date in Freemarker?

There is a freemarker page. It displays some date:

[#setting locale=&quot;ru&quot; /]<br/>
${someDate?string(&quot;dd MMMM yyyy&quot;)}

At the output, we get a string like: "June 10, 2012".
How to achieve the correct declination of the month, preferably using Freemarker?
If it fails, you will have to do it in java code, but you don’t want to

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question