[
https://issues.apache.org/jira/browse/FREEMARKER-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erkki Lindpere closed FREEMARKER-166.
-------------------------------------
Resolution: Invalid
> timestamp seems to be a reserved word
> -------------------------------------
>
> Key: FREEMARKER-166
> URL: https://issues.apache.org/jira/browse/FREEMARKER-166
> Project: Apache Freemarker
> Issue Type: Bug
> Components: engine
> Affects Versions: 2.3.30
> Reporter: Erkki Lindpere
> Priority: Major
>
> I have a template which includes this:
> {code:java}
> ${timestamp}
> {code}
> The timestamp variable is provided in the map of parameters as a
> pre-formatted datetime.
> Instead, in the resolved template I'm seeing either emptyness or a numeric
> unix timestamp (in unit test it seems empty). Is this a reserved word? It's
> not documented.
> When I changed the name of "timestamp" to "eventDateTime" then everything
> works as expected, I see my pre-formatted timestamp in the output.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)