You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Serge Knystautas <se...@lokitech.com> on 2000/04/05 05:03:42 UTC

Re: cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util CookieTools.java

>   @@ -192,6 +192,8 @@
>             String pattern = "EEE, dd-MMM-yyyyy HH:mm:ss z";
>             Locale loc = Locale.US;
>             SimpleDateFormat df = new SimpleDateFormat(pattern, loc);
>   +         TimeZone zone = TimeZone.getTimeZone("GMT");
>   +         df.setTimeZone(zone);
>             String str = df.format(calendar.getTime());
>             buf.append(str);
>         }

I know we need at least a 4 digit year for y2k compliance, but do we
really need a 5 digit year?  Or am I just being shortsighted?  ;)

Serge Knystautas
Loki Technologies
http://www.lokitech.com/