Hi,

This feature would really modernize Freemarker for us.

Is there any news on LocalDate support for Freemarker?
Anything we can do to speed things along?

With kind regards,
Geoffrey De Smet

On 02/10/2021 20:24, Daniel Dekany wrote:
Hi,

Not yet, but there's a FREEMARKER-35 branch that deals with all the
java.time types. It works at the first sight, but actually will need a
significant amount of work before it can be released. I plan to put
aside time for a "sprint" on it near the end of October. We will see.
And yes, I also want to add at least a few date operations built-ins.

On Fri, Oct 1, 2021 at 9:59 AM Geoffrey De Smet <ge0ffrey.s...@gmail.com> wrote:
Hi all,

Does Freemarker have plans to support using java.time.LocalDate instead
of java.util.Date?

The latter is causing off-by-one errors for in our Freemarker templates
if executed in certain timezones (and adjusting the timezone opens
another can of worms).
See https://github.com/jbake-org/jbake/issues/726

Also, many java.time methods, such as plusDays(3) or next monday,
would be very welcome in Freemarker templates.

--

With kind regards,
Geoffrey De Smet


Reply via email to