<fmt:formatDate ?>
Here is a sample JSP code
<h4>US</h4>
<fmt:setLocale value="us_US"/>
<fmt:formatDate value="${now}" pattern="yyyyMMdd"/>
<h4>RU</h4>
<fmt:setLocale value="ru_RU"/>
<fmt:formatDate value="${now}" pattern="yyyyMMdd"/>
And on the output I got:
US
Fri Jan 19 14:38:21 MSK 2007
RU
20070119
I expected to see two identical rows but why they are not? Doesn't the "pattern" attribute rules the output format? If not how does one can manipulate with the format?

