[opencms-dev] Formatting dates retrieved via taglib from xml-content

Roedel, Mark MarkRoedel at letu.edu
Mon Jan 3 23:45:58 CET 2005


Alexander recently suggested using the Apache Jakarta DateTime taglib
for this.
http://jakarta.apache.org/taglibs/doc/datetime-doc/intro.html


--
Mark Roedel
Web Programmer / Analyst
LeTourneau University
Longview, Texas  USA

 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Ulrich Rueth
Sent: Monday, January 03, 2005 3:27 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Formatting dates retrieved via taglib from
xml-content

Hi all,

is it possible to format a date retrieved via taglib:

<cms:contentshow element="Date" />

returns a long number and I'd like to format it, e.g. using
org.opencms.util.CmsDateUtil.getDateShort(...)?




More information about the opencms-dev mailing list