Locale and SimpleDateFormat: creationdate in WebdavServlet

2011-07-11 Thread Rainer Jung
WebdavServlet uses -MM-dd'T'HH:mm:ss'Z' witout setting Locale.US.

The format is specified in http://www.ietf.org/rfc/rfc2518.txt, 23.2
Appendix 2 - ISO 8601 Date and Time Profile, and I would say it should
also be en_US.

I don't know much about Webdav though ...

Agreed?

It is the last SDF that does not have a Locale and probably should have
one. The other cases seem OK.

Rainer


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Locale and SimpleDateFormat: creationdate in WebdavServlet

2011-07-11 Thread Konstantin Kolinko
2011/7/11 Rainer Jung rainer.j...@kippdata.de:
 WebdavServlet uses -MM-dd'T'HH:mm:ss'Z' witout setting Locale.US.

 The format is specified in http://www.ietf.org/rfc/rfc2518.txt, 23.2
 Appendix 2 - ISO 8601 Date and Time Profile, and I would say it should
 also be en_US.

 I don't know much about Webdav though ...

 Agreed?

 It is the last SDF that does not have a Locale and probably should have
 one. The other cases seem OK.

I agree.

It uses 2-digit month, so it does not matter much,  unless you have
locale that uses unusual digits here.

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org