I think I found a problem with HttpUtils in 

        org.apache.turbine.util.HttpUtils

[Wed Nov 12 14:27:30 EST 2003] -- DEBUG --  DateManip: Mon Nov 10 14:27:30 EST 2003
[Wed Nov 12 14:27:30 EST 2003] -- DEBUG --  HttpUtils: Mon, 10 Nov 02003 19:27:30 GMT

it looked like it was placing an extra zero in front of my year and 
looking at the code in cvs it looks like they httpDateFormat has an extra 
"y" in the year portion that is causing me my troubles.

if someone can fix this in cvs that would be cool :)


public class HttpUtils
{
    /**
     * The date format to use for HTTP Dates.
     */
    private static SimpleDateFormat httpDateFormat;

    static
    {
        httpDateFormat = new SimpleDateFormat(
                "EEE, dd MMM yyyyy HH:mm:ss z", Locale.US);
                             ^^^^^ -> 5 digit year?

        httpDateFormat.setTimeZone(TimeZone.getTimeZone("GMT"));
    }




-- 
Regards,

Jeffery Painter

- --
[EMAIL PROTECTED]                     http://kiasoft.com
PGP FP: 9CE8 83A2 33FA 32B1 0AB1  4E62 E4CB E4DA 5913 EFBC

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
 
iD8DBQE/qEQE5Mvk2lkT77wRAnMJAJ9vJ6qOkg/mvqqIpz7troCEQJ8bFACglu/U
YNXabx7DZOV2Hd9LwSTmGpY=
=dWiu
-----END PGP SIGNATURE-----


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

Reply via email to