You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Goetz Botterweck <bo...@uni-koblenz.de> on 2003/02/21 13:25:15 UTC

esql: setting date format for

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 ...>

Thanks
Goetz




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


Re: esql: setting date format for

Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 21.Feb.2003 -- 01:25 PM, 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 ...>

None that I am aware of. ;-)

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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


Re: esql: setting date format for

Posted by leo leonid <te...@leonid.de>.
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