Re: ISO 8601 formatting in 2.3.17: will it be OK this way?
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.devel,gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Monday, May 16, 2011, 9:35:24 AM, Denis Bredelet wrote:
>
>
>> ${d?iso(javaUTC)} = 2010-05-15T20:38:05Z
>> ${d?iso(javaGMT02)} = 2010-05-15T22:38:05+02
>
> Are these two variables added to the root or are they standard?
They are just added to the test case data-model, like:
dataModel.put("javaGMT02", TimeZone.getTimeZone("GMT+02"));
dataModel.put("javaUTC", TimeZone.getTimeZone("UTC"));
(Standard variables are referred with a preceding dot in FreeMarker,
like ${.version}.)
> -- Denis.
--
Best regards,
Daniel Dekany
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay