Description
If you fill the timezone attribute of the date tag with an OGNL expression, is not being evaluated at all, fact that makes the attribute almost useless.
Here is a patch to fix it:
— - 2010-03-30 23:33:27.000000000 +0200
+++ src/core/src/main/java/org/apache/struts2/components/Date.java 2010-03-30 23:28:20.000000000 +0200
@@ -304,6 +304,9 @@
} else {
TimeZone tz = TimeZone.getDefault();
if (timezone != null)