Re: Facing problem with datetime Built-In

Daniel Dekany <[email protected]> Thu, 2 Jun 2016 20:50:17 +0200
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
I can't think of any FreeMarker mechanism that could cause that, so
certainly the string is already "&#x3a;"-ed before it reaches
FreeMarker.

BTW, where did you find the [email protected] mail
address? This list was replaced by
[email protected]. Is it still there on some well
visible place?


Is it still there


Thursday, June 2, 2016, 1:38:04 PM, Rohit Koushal wrote:

> Hello everyone,
>
> I am facing one problem with date string when used with datetime
> built-in. Below is the syntax that I am  using :
>
> ${parameters.minDate?datetime("yyyy-MM-dd HH:mm:ss")}
>
> and getting error message like  : 
>
> FreeMarker template error: The string doesn't match the expected
> date/time/date-time format. The string to parse was: "2016-05-21
> 18&#x3a;15&#x3a;22.0". The expected format was: "yyyy-MM-dd
> HH:mm:ss". The nested reason given follows: Unparseable date:
> "2016-05-21 18&#x3a;15&#x3a;22.0" 
>
> From the error message it look like date colons(:) got replaced
> with "&#x3a;". Does anyone point me what I am doing wrong.
>  
> -----------------
> Thanks and Regards
> Rohit Koushal

-- 
Thanks,
 Daniel Dekany


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e