commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean W. Ferguson" <seansli...@comcast.net>
Subject Re: [Jelly] fmt:formatDate
Date Thu, 31 Jul 2003 18:47:25 GMT
I figured it out.

Example:

   <core:new var="newDate" className="java.util.Date"/>

   <fmt:setLocale value="EN_US"/>

   <fmt:formatDate var="myDate" dateStyle="medium" value="${newDate}"/>

Which makes myDate = Jul 31, 2003

Sean W. Ferguson wrote:
> Hi,
> 
> I am slightly confused.  I am trying to use the formatDate of the fmt 
> tag library, and am not completely sure how it works.  There are no unit 
> tests of this tag, so I don't get any working examples.  Could someone 
> post an example of how it works?
> 
> Thanks
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 


Mime
View raw message