DO NOT REPLY [Bug 32311] - Performance: fmt:formatDate regarding calls to Calendar.getInstance

[email protected]
Newsgroups gmane.comp.jakarta.taglibs.devel
Message-ID <[email protected]>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32311>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32311





------- Additional Comments From [email protected]  2007-09-30 00:46 -------
Created an attachment (id=20900)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20900&action=view)
Fix+Test patch

Attaching a fix and a test. The test fails because Cactus does not seem to set
the locale on the request. The default action then is to print date.toString().
Switching that to use the Locale.getDefault() shows that the code is working.

Probably have to just ditch the test and just go with the fix, along with a
sample app showing that things are okay.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.