cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo Rivera <agalla...@agsoftware.dnsalias.com>
Subject [XSP:util] Formatting Date to String....
Date Wed, 30 Oct 2002 03:57:52 GMT
Hi,

I saw that in XSP there is a logicsheet called util. There is a function tag 
called:

<util:time>

This tag also has a format attribute, that let define the format of the 
output.

I am now "playing" with reports of a database. I figured I need a similar 
function to format the date of the reports for output.... This is why I want 
to extend this tag to not only provide format of the current date, but also 
of any date..... 

We can write for example:

<util:time date="29-Oct-2002" format="yyyy-MMM-dd"/>

What about this?

I am asking to You [ as in the mailing list was denoted to refer to the "not 
singular" you  ;-) ], before I will send this new "enhancement", because I 
saw my prior improvement in session.xsl stayed only in bugzilla as 
"enhancement 13070" [some people already use it, :-D ). and want to be sure 
that my 2 cents will find a place into the Cocoon project for new people like 
me that try to go into this great new technology.

Regards,

Antonio Gallardo

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message