AW: [opencms-dev] Formatting dates retrieved via taglib fromxml-content

Ulrich Rueth lists at rueth.info
Tue Jan 4 20:16:38 CET 2005


Hi Mark,

thanks for the hint, it works!

Regards
Ulrich

-----Ursprungliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Roedel, Mark
Gesendet: Montag, 3. Januar 2005 23:46
An: The OpenCms mailing list
Betreff: RE: [opencms-dev] Formatting dates retrieved via taglib
fromxml-content



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(...)?



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list