An error occurred while processing the template.
The string doesn't match the expected date/time/date-time format. The string to parse was: "". The expected format was: "yyyy-MM-dd HH:mm". The nested reason given follows: Unparseable date: "" ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign rawDate = cur_FileGroup.Publi... [in template "66960891545999#20120#44957" at line 15, column 89] ----
1<div class="container mt-4">
2 <#if FileGroup.getSiblings()?has_content>
3 <#list FileGroup.getSiblings() as cur_FileGroup>
4 <div class="card">
5 <div class="card-body">
6 <!-- Article Title -->
7 <h3 class="card-title-detail">
8 <#if (cur_FileGroup.Description.getData())??>
9 ${cur_FileGroup.Description.getData()}
10 </#if>
11 </h3>
12 <p class="text-muted-detail">
13 <#-- Parsing the date string with the correct pattern -->
14 <#if (cur_FileGroup.PublishDate.getData())??>
15 <#assign rawDate = cur_FileGroup.PublishDate.getData()?date("yyyy-MM-dd HH:mm")>
16 <#assign formattedDate = rawDate?string("dd MMMM yyyy")>
17 ${formattedDate}
18 </#if>
19 </p>
20 <#if (description.getData())??>
21 <p class="mt-3">${description.getData()}</p>
22 </#if>
23 <a href="${cur_FileGroup.File.getData()}" class="btn btn-download" target="_blank" download>
24 ${languageUtil.format(locale, "download-x", "", false)}
25 </a>
26 </div>
27 </div>
28 </#list>
29 </#if>
30</div>
31
32<style>
33 .card-title-detail {
34 color: #272833;
35 font-size: 20px;
36 font-style: normal;
37 font-weight: 600;
38 line-height: 21px;
39 }
40 .text-muted-detail {
41 color: #A7A9BC;
42 font-size: 16px;
43 font-style: normal;
44 font-weight: 400;
45 line-height: 21px;
46 }
47 .btn-download {
48 border-radius: 4px;
49 background: #FF0B0F;
50 color: #FFF;
51 text-align: center;
52 font-size: 16px;
53 font-style: normal;
54 font-weight: 600;
55 line-height: 24px);
56 }
57</style>