New spare parts catalogue
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: "Fri, 23 Sept 2022 06:20:55 +0000". The expected format was: "EEE, d MMM yyyy HH:mm:ss Z". The nested reason given follows: Unparseable date: "Fri, 23 Sept 2022 06:20:55 +0000" ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign displaydate = displaydate?dat... [in template "20101#20127#49666" at line 4, column 1] ----
1<#-- Retrieve the published date meta data field of the web content -->
2<#assign displaydate = .vars['reserved-article-modified-date'].data>
3<#-- Parse the date to a date object -->
4<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")>
5<#-- Create a date formatter using current locale and timezone -->
6<#assign date_format = dateFormats.getDate(2, locale, timezone)>
7
8<p class="text--muted">
9 ${date_format.format(displaydate)}
10</p>
11
12<#if SubTitle??>
13 <#if SubTitle.getData()?has_content>
14 <h2 class="text--muted">${SubTitle.getData()}</h2>
15 </#if>
16</#if>
17
18<#if teaserText??>
19 <#if teaserText.getData()?has_content>
20 <p class="text--highlight">${teaserText.getData()}</p>
21 </#if>
22</#if>
23
24<#if FullContentHTML??>
25 <#if FullContentHTML.getData()?has_content>
26 <div>${FullContentHTML.getData()}</div>
27 </#if>
28</#if>
29
30<#if PressInformation.getData()?has_content>
31<p>
32<a class="link link--icon link--standalone" href="${PressInformation.getData()}" target="_blank">
33 <i class="pm-icon-download text--putzmeister-yellow"></i> ${languageUtil.format(locale, "download-x", .vars['reserved-article-title'].data, false)}
34</a>
35</p>
36</#if>
37
38<#if Video?has_content>
39<#assign splitUrl = Video.getData()?split("/") />
40<#assign VideoUrl = Video.getData() />
41<#if VideoUrl?has_content>
42<video width="100%" height="auto" controls>
43 <source src="${VideoUrl}" type="video/mp4" />
44 Your browser does not support this video format.
45</video>
46</#if>
47</#if>