cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leo leonid <...@leonid.de>
Subject Re: esql: setting date format for <esql:get-columns/>
Date Fri, 21 Feb 2003 13:52:36 GMT

On Freitag, Februar 21, 2003, at 01:25  Uhr, Goetz Botterweck wrote:

> Is there a way to ...
> 1) get all columns with <esql:get-columns/>
> 2) specify date format for one of these columns
> (so that I do not get "2003-05-21 00:00:00.0" but "21. May 2003")
>
> I do not want to use <esql:get-date ...>
>

-> 2) Why not <esql:get-date ...>? or get-timestamp ?

The only problem I can see is that there is no way to set a locale to 
format with get-date,
this could be solved with the i18n transformer
		<i18n:date-time src-pattern="yyyy-MM-dd hh:mm:ss" pattern="FULL" >
				<esql:get-timestamp column="mydate" format="yyyy-MM-dd hh:mm:ss"/>
		</i18n:date-time>

/Leo

> Thanks
> Goetz
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>


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


Mime
View raw message