Author: jleroux
Date: Fri Jul 13 06:58:49 2007
New Revision: 556002
URL:
http://svn.apache.org/viewvc?view=rev&rev=556002Log:
A patch from Adriam Crum "Quirky Behavior In New Time Zone Selection Box" (
https://issues.apache.org/jira/browse/OFBIZ-1126)
Modified:
ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonEvents.java
Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonEvents.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonEvents.java?view=diff&rev=556002&r1=556001&r2=556002==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonEvents.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/CommonEvents.java Fri Jul 13 06:58:49 2007
@@ -194,6 +194,7 @@
public static String setSessionTimeZone(HttpServletRequest request, HttpServletResponse response) {
String tzString = request.getParameter("tzId");
if (UtilValidate.isNotEmpty(tzString)) {
+ UtilHttp.setTimeZone(request, tzString);
// update the UserLogin object
GenericValue userLogin = (GenericValue) request.getSession().getAttribute("userLogin");
@@ -242,4 +243,5 @@
return "success";
}
}
+