An error occurred while processing the template.
Java method "com.liferay.portal.kernel.util.DateUtil_IW.parseDate(String, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@100e0a6a"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign display_date = dateUtil.parse... [in template "10132#10165#ARTICLE" at line 1, column 1] ----
1<#assign display_date=dateUtil.parseDate("EEE,dd MMM yyyy hh:mm:ss Z", .vars["reserved-article-display-date"].data, locale)>
2<#assign fecha=dateUtil.getDate( display_date,"dd/MM/yyyy HH:mm ", languageUtil.getLocale("ca"), company.getTimeZone())+"h.">
3
4<h2>${.vars["reserved-article-title"].data}</h2>
5
6<#-- AddToAny Button BEGIN -->
7<div class="row">
8 <div class="col-12">
9 <div id="socialShare" class="btn-group float-right">
10 <a data-toggle="dropdown" class="btn btn-default">
11 <img src="/o/DibaMenuVertical-theme/images/recursos/share.png" class="no-lazy" alt="Comparteix" style="margin:0;width:16px"/>
12 </a>
13 <button href="#" data-toggle="dropdown" class="btn btn-default dropdown-toggle">
14 <span class="sr-only">Comparteix</span>
15 <span class="caret" style="margin:0;"></span>
16 </button>
17 <div class="a2a_kit a2a_kit_size_32 a2a_default_style dropdown-menu dropdown-menu-right data-a2a-url="${themeDisplay.getPortalURL()}${themeDisplay.getURLCurrent()}" data-a2a-title="${htmlUtil.escape(.vars["reserved-article-title"].data)}">
18 <a class="a2a_button_facebook"></a>
19 <a class="a2a_button_x"></a>
20 <a class="a2a_button_whatsapp"></a>
21 <a class="a2a_button_linkedin"></a>
22 </div>
23 <script>
24 var a2a_config = a2a_config || {};
25 a2a_config.locale = "es";
26 </script>
27 <script async src="https://static.addtoany.com/menu/page.js"></script>
28 <script data-senna-track="temporary">
29 Liferay.on("beforeNavigate", function(event) { location.href=event.path; });
30</script>
31 <style>
32 .a2a_svg, .a2a_count { border-radius: 16px !important; }
33 .a2a_kit.show {display:inline-flex}
34 </style>
35 </div>
36 </div>
37</div>
38<#-- AddToAny Button END -->
39<br />
40<div>
41 <#if imatge.getData()?has_content>
42 <div class="float-left" style="padding:0 10px 10px 0">
43 <img src="${imatge.getData()}" alt="${peuImatge.getData()}" title="${peuImatge.getData()}" style="margin:4px;width:200px">
44 </div>
45 </#if>
46<p>${fecha}</p>
47 <#if entradeta.getData()?has_content>
48 <strong>${entradeta.getData()}</strong>
49 </#if>
50 <#if cos.getData()?has_content>
51 ${cos.getData()}
52 </#if>
53 <#if signatura.getData()?has_content>
54 <p class="float-right">${signatura.getData()}</p>
55 </#if>
56</div>