seade       2003/11/24 03:03:51

  Modified:    xdocs    Tag: TURBINE_2_3_BRANCH changes.xml
               src/java/org/apache/turbine/util Tag: TURBINE_2_3_BRANCH
                        HttpUtils.java
  Log:
  Backporting HttpUtils.httpDateFormat fix from HEAD.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.60.2.11 +4 -0      jakarta-turbine-2/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/xdocs/changes.xml,v
  retrieving revision 1.60.2.10
  retrieving revision 1.60.2.11
  diff -u -r1.60.2.10 -r1.60.2.11
  --- changes.xml       7 Nov 2003 15:17:01 -0000       1.60.2.10
  +++ changes.xml       24 Nov 2003 11:03:50 -0000      1.60.2.11
  @@ -130,6 +130,10 @@
       <li>
          Upgraded to commons-pool-1.1
       </li>
  +      <li>
  +        HttpUtils.httpDateFormat had the year set as 'yyyyy', should be 'yyyy' 
therefore
  +        setting expiry dates failed.
  +      </li>
     </ul>
   </p>
   </subsection>
  
  
  
  No                   revision
  No                   revision
  1.4.2.1   +1 -1      
jakarta-turbine-2/src/java/org/apache/turbine/util/HttpUtils.java
  
  Index: HttpUtils.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/HttpUtils.java,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- HttpUtils.java    11 Apr 2003 13:17:04 -0000      1.4
  +++ HttpUtils.java    24 Nov 2003 11:03:51 -0000      1.4.2.1
  @@ -77,7 +77,7 @@
       static
       {
           httpDateFormat = new SimpleDateFormat(
  -                "EEE, dd MMM yyyyy HH:mm:ss z", Locale.US);
  +                "EEE, dd MMM yyyy HH:mm:ss z", Locale.US);
           httpDateFormat.setTimeZone(TimeZone.getTimeZone("GMT"));
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to