[stringtemplate-interest] date formatting

Terence Parr parrt at cs.usfca.edu
Thu Nov 12 17:54:46 PST 2009


also can use format="yyyy-mm-DD" or whatever Java's DateFormat groks.
T
On Nov 12, 2009, at 5:53 PM, Terence Parr wrote:

> here's a good one (will appear in STv4).
>
> $aDateOrCalendar; format="date:short"$
> $aDateOrCalendar; format="time:full"$
> $aDateOrCalendar; format="full"$
>
> bydefault it's "short".
>
> Ter



More information about the stringtemplate-interest mailing list