Aprovechando hasta la última gota - AGBAR
Se ha producido un error al procesar la plantilla.
The string doesn't match the expected date/time/date-time format. The string to parse was: "Tue, 07 Apr 2020 09:16:00 +0000". The expected format was: "EEE, d MMM yyyy HH:mm:ss Z". The nested reason given follows: Unparseable date: "Tue, 07 Apr 2020 09:16:00 +0000" ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign date = date?datetime("EEE, d ... [in template "20116#20152#40804003" at line 15, column 5] ----
1<script type="text/javascript" src="//platform-api.sharethis.com/js/sharethis.js#property=59bfee6ab37b64001107445e&product=custom-share-buttons"></script>
2
3<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()>
4<#assign httpServletRequest = serviceContext.getRequest()>
5
6<#assign date = .vars['reserved-article-display-date'].data>
7
8<#setting time_zone = languageUtil.get(locale, "template-timezone")>
9
10<#attempt>
11 <#setting locale = locale>
12 <#assign date = date?datetime("EEE, d MMM yyyy HH:mm:ss Z")>
13<#recover>
14 <#setting locale = localeUtil.getSiteDefault()>
15 <#assign date = date?datetime("EEE, d MMM yyyy HH:mm:ss Z")>
16</#attempt>
17
18
19<#setting locale = locale>
20<#assign dateTimeFormat = "d MMM yyyy">
21
22<#assign date = date?string(dateTimeFormat)?upper_case>
23
24<div class="generic-content">
25<article class="noticia">
26
27<header>
28 <#if ImagenDetalle.getData()?? && ImagenDetalle.getData() != "">
29 <div class="container bg-image">
30 <div class="row">
31 <div class="content-image" style='background-image:url(${ImagenDetalle.getData()})'></div>
32 <#else>
33 <div class="container">
34 <div class="row">
35 </#if>
36 <div class="content-header">
37 <h1>${.vars['reserved-article-title'].data}</h1>
38 <time datetime="${date}"><span>${date}</span> </time>
39 </div>
40 </div>
41 </div>
42</header>
43
44
45<div class="container-generic-content">
46 <div class="container">
47 <div class="row">
48 <div class="col-md-8 col-md-offset-2">
49 <div class="print-redes">
50 <ul>
51 <li><a data-network="print" class="st-custom-button print-content" href="#" title="Print" class="print-content"><@liferay.language key="aqualogy.liferay.print" /></a> |</li>
52 <li><a data-network="facebook" class="st-custom-button" href="#" aria-label="Facebook. Abre en ventana nueva" title="Facebook. Abre en ventana nueva"><span class="hidden">Facebook</span><i class="icon-facebook-sign"></i></a></li>
53 <li><a data-network="twitter" class="st-custom-button" href="#" aria-label="Twitter. Abre en ventana nueva" title="Twitter. Abre en ventana nueva"><span class="hidden">Twitter</span><i class="icon-twitter"></i></a></li>
54 <li><a data-network="linkedin" class="st-custom-button" href="#" aria-label="LinkedIn. Abre en ventana nueva" title="LinkedIn. Abre en ventana nueva"><span class="hidden">LinkedIn</span><i class="icon-linkedin"></i></a></li>
55 <li><a data-network="sharethis" class="share st-custom-button" href="#" href="#" aria-label="Compartir en más redes sociales. Abre ventana modal." title="Compartir en más redes sociales. Abre ventana modal."><span class="hidden"><@liferay.language key="aqualogy.liferay.share" /></span></a></li>
56 </ul>
57 </div>
58
59 <p class="entradilla">${Entradilla.getData()}</p>
60
61 <p>${CuerpoDetalle.getData()}</p>
62 </div>
63 </div>
64 </div>
65</div>
66
67
68</article>
69</div>