You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/12/02 12:33:20 UTC

DO NOT REPLY [Bug 25134] New: - bean:write format on Dates doesn't use the locale

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25134>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25134

bean:write format on Dates doesn't use the locale

           Summary: bean:write format on Dates doesn't use the locale
           Product: Struts
           Version: 1.1 Final
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: pte@jyskebank.dk


The way org.apache.struts.taglib.bean.WriteTag handles Date and Number
formatting according to  locale isn't consistens when you are using the format
attribute on <bean:write>.

Formatting a Date this way you will use the default locale.
Formatting a Number this way you will use the locale specified in the locale
attribute.

Formatting works OK when you are using the attribute formatKey.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org