===================================================================
RCS file: /home/cvspublic/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves/AccessLogValve.java,v
retrieving revision 1.3
diff -u -r1.3 AccessLogValve.java
--- catalina/src/share/org/apache/catalina/valves/AccessLogValve.java 11 Jan 2003 05:12:48 -0000 1.3
+++ catalina/src/share/org/apache/catalina/valves/AccessLogValve.java 28 Mar 2003 13:16:07 -0000
@@ -1028,10 +1028,8 @@
// Initialize the timeZone, Date formatters, and currentDate TimeZone tz = TimeZone.getDefault(); - timeZone = "" + (tz.getRawOffset() / (60 * 60 * 10)); - if (timeZone.length() < 5) - timeZone = timeZone.substring(0, 1) + "0" + - timeZone.substring(1, timeZone.length()); + SimpleDateFormat timeZoneFormatter = new SimpleDateFormat("Z"); + timeZone = timeZoneFormatter.format(new Date()); dateFormatter = new SimpleDateFormat("yyyy-MM-dd"); dateFormatter.setTimeZone(tz); dayFormatter = new SimpleDateFormat("dd");
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]