http://wiki.opensymphony.com/space/How+to+format+dates+and+numbers
On Feb 20, 2004, at 4:10 AM, Sebastiano Pilla wrote:
At 22.52 19/02/2004, Hani Suleiman wrote:The tag is actually incorrect. The right thing to do is:
<ww:text name="'timestamp'" value0="timeStamp"/>
then in your action i18n properties file:
timestamp={0,date,yyyy-MM-dd HH:mm:ss}
The idea being that you can have different ways of displaying time based on different locales etc.
IMHO this example is very useful and should be added to the official documentation of the text tag at http://www.opensymphony.com/webwork/tag.html
Ing. Sebastiano Pilla, CTO SDG Engineering s.r.l. Via della Chiesa Campocroce 4 31021 Campocroce di Mogliano Veneto (TV) Tel +39-041-5947721 Fax +39-041-5947722
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork