You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wim De Smet <kr...@gmail.com> on 2009/06/03 16:26:08 UTC

Setting default locale for s:date

Hi all,

I've got this webapp running on a machine that has a locale that is
not en_US. However, I'd like the webapp to run under en_US. I tried
setting the locale in struts with:
<constant name="struts.locale" value="en_US" />
Unfortunately, dates I try to format with <s:date> are still formatted
using the server's locale. Is this expected behaviour? What would be
the best way around this?

regards,
Wim

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org