Breadcrumb

Eduki publikatzailea

Errorea gertatu da txantiloia prozesatzerakoan.
The string doesn't match the expected date/time/date-time format. The string to parse was: "27 sept 2018". The expected format was: "d MMM yyyy".
The nested reason given follows:
Unparseable date: "27 sept 2018"

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign someDate = dateStr?datetime("...  [in template "1390359#1390397#2438845" at line 6, column 1]
----
1<#assign sdfEs = objectUtil("java.text.SimpleDateFormat", "dd/MM/yyyy", locale) /> 
2<#assign sdfEu = objectUtil("java.text.SimpleDateFormat", "yyyy/MM/dd", locale) /> 
3<#assign sdfEn = objectUtil("java.text.SimpleDateFormat", "MM/dd/yyyy", locale) /> 
4 
5<#assign dateStr = .vars['reserved-article-display-date'].data?keep_after_last(", ")?keep_before_last(":")?keep_before_last(" ")?replace("ene", "jan")?replace("abr", "apr")?replace("ago", "aug")?replace("dic", "dec")?replace(".","") /> 
6<#assign someDate = dateStr?datetime("d MMM yyyy")?long> 
7<#assign date_DateObj = dateUtil.newDate(someDate)> 
8 
9<div class="container noticiasDetalle"> 
10    <div class="col-md-12"> 
11        <h2>${TituloNovedad.getData()}</h2> 
12        <p class="lugarFecha"> 
13            <#if Lugar.getData()?has_content> 
14                ${Lugar.getData()}. 
15            </#if> 
16            <#if locale = "es_ES"> 
17                ${sdfEs.format(date_DateObj)} 
18            <#elseif locale = "eu_ES"> 
19                ${sdfEu.format(date_DateObj)} 
20            <#else> 
21                ${sdfEn.format(date_DateObj)} 
22            </#if> 
23        </p> 
24        <div class="contenidoNoticia"> 
25            ${Descripcion.getData()} 
26        </div> 
27        <p><a href="/<@liferay.language key="lan.ultimas-noticias.news" />" class="btn btn-default pull-right"><@liferay.language key="lan-ultimas-noticias.all-news" /></a></p> 
28    </div> 
29</div>