angle-left Dalby bibliotek under 30 år
Fehler bei der Verarbeitung der Vorlage.
The string doesn't match the expected date/time/date-time format. The string to parse was: "". The expected format was: "yyyy-MM-dd".
The nested reason given follows:
Unparseable date: ""

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign eventDate = eventDate?date("y...  [in template "4278864#4278898#5896040" in macro "getLocalization" at line 138, column 13]
	- Reached through: @getLocalization id="eventDate"  [in template "4278864#4278898#5896040" at line 2, column 1]
----
1<#assign eventDate = eventDate.getData() /> 
2<@getLocalization id = "eventDate" /> 
3<#assign eventArticleTitle = .vars['reserved-article-title'].data /> 
4 
5<article class="event-article clearfix"> 
6    <div class="meta-data"> 
7        <h1 class="event-article-title">${eventArticleTitle}</h1> 
8        <div class="event-date"> 
9            <div class="calendar-date"> 
10                <span class="visually-hidden"><@getLocalization id="event_start_date" /></span> 
11                <span>${eventDate}</span> 
12                <#if eventEndDate?? && eventEndDate.getData() !=""> 
13                    <#assign eventEndDate = eventEndDate.getData() /> 
14                    <@getLocalization id = "eventEndDate" /> 
15                    <span class="end-date"> 
16                        <span class="visually-hidden"><@getLocalization id="event_end_date" /></span> 
17                        <span> - ${eventEndDate}</span> 
18                    </span> 
19                </#if> 
20            </div> 
21        </div> 
22        <div class="calendar-time"> 
23            <span class="visually-hidden"><@getLocalization id="event_time" /></span>${eventTime.getData()} 
24        </div> 
25        <div class="calendar-location"> 
26            <span class="visually-hidden"><@getLocalization id="event_location" /></span>${eventLocation.getData()} 
27        </div> 
28        <div class="address"> 
29            <span class="visually-hidden"><@getLocalization id="event_address" /></span>${locationAddress.getData()} 
30        </div> 
31    </div> 
32    <div class="image-container"> 
33        <#if (documentsAndMediaImage?? && documentsAndMediaImage.getData() !="") && (documentsAndMediaImage.eventImgAlt?? && documentsAndMediaImage.eventImgAlt.getData() !="")> 
34            <img class="full-event-image" alt="${documentsAndMediaImage.eventImgAlt.getData()}" src="${documentsAndMediaImage.getData()}"> 
35        <#elseif documentsAndMediaImage?? && documentsAndMediaImage.getData() !=""> 
36            <img class="full-event-image" alt="${eventArticleTitle}" src="${documentsAndMediaImage.getData()}"> 
37        </#if> 
38    </div> 
39    <#if eventText.getData() != ""> 
40        <div class="event-text-container"> 
41            <p class="event-text">${eventText.getData()}</p> 
42        </div> 
43    </#if> 
44    </div> 
45</article> 
46<#macro getLocalization id> 
47    <#if locale == "fi_FI"> 
48        <#setting date_format = "yyyy-MM-dd"> 
49        <#if id == "event_location"> 
50            Paikka 
51        <#elseif id == "event_address"> 
52            Osoite 
53        <#elseif id == "event_start_time"> 
54            Päivä 
55        <#elseif id == "event_end_time"> 
56            Lopetuspäivämäärä 
57        <#elseif id == "event_day"> 
58            Päivä 
59        <#elseif id == "event_time"> 
60            Aika 
61        <#elseif id == "eventDate"> 
62            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
63        <#elseif id == "eventEndDate"> 
64            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
65        </#if> 
66    <#elseif locale == "sv_SE"> 
67        <#setting date_format = "yyyy-MM-dd"> 
68        <#if id == "event_location"> 
69            Plats 
70        <#elseif id == "event_address"> 
71            Adress 
72        <#elseif id == "event_start_date"> 
73            Startdatum 
74        <#elseif id == "event_end_date"> 
75            Slutdatum 
76        <#elseif id == "event_day"> 
77            Datum 
78        <#elseif id == "event_time"> 
79            Tid 
80        <#elseif id == "eventDate"> 
81            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
82        <#elseif id == "eventEndDate"> 
83            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
84        </#if> 
85    <#elseif locale == "nb_NO"> 
86        <#setting date_format = "yyyy-MM-dd"> 
87        <#if id == "event_location"> 
88            Sted 
89        <#elseif id == "event_address"> 
90            Adresse 
91        <#elseif id == "event_start_date"> 
92            Startdato 
93        <#elseif id == "event_end_date"> 
94            Sluttdato 
95        <#elseif id == "event_day"> 
96            Dato 
97        <#elseif id == "event_time"> 
98            Tidspunkt 
99        <#elseif id == "eventDate"> 
100            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
101        <#elseif id == "eventEndDate"> 
102            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
103        </#if> 
104    <#elseif locale == "en_GB"> 
105        <#setting date_format = "MM/dd/yyyy"> 
106        <#if id == "event_location"> 
107            Place 
108        <#elseif id == "event_address"> 
109            Address 
110        <#elseif id == "event_start_date"> 
111            Date 
112        <#elseif id == "event_end_date"> 
113            End date 
114        <#elseif id == "event_day"> 
115            Date 
116        <#elseif id == "event_time"> 
117            Time 
118        <#elseif id == "eventDate"> 
119            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
120        <#elseif id == "eventEndDate"> 
121            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
122        </#if> 
123    <#elseif locale == "de_DE"> 
124        <#setting date_format = "dd.MM.yyyy"> 
125        <#if id == "event_location"> 
126            Bibliothek 
127        <#elseif id == "event_address"> 
128            Adresse 
129        <#elseif id == "event_start_date"> 
130            Datum 
131        <#elseif id == "event_end_date"> 
132            Endtermin 
133        <#elseif id == "event_day"> 
134            Datum 
135        <#elseif id == "event_time"> 
136            Zeit 
137        <#elseif id == "eventDate"> 
138            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
139        <#elseif id == "eventEndDate"> 
140            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
141        </#if> 
142    <#else> 
143        <#setting date_format = "MM/dd/yyyy"> 
144        <#if id == "event_location"> 
145            Place 
146        <#elseif id == "event_address"> 
147            Address 
148        <#elseif id == "event_start_date"> 
149            Start date 
150        <#elseif id == "event_end_date"> 
151            End date 
152        <#elseif id == "event_day"> 
153            Date 
154        <#elseif id == "event_time"> 
155            Time 
156        <#elseif id == "eventDate"> 
157            <#assign eventDate = eventDate?date("yyyy-MM-dd")?date /> 
158        <#elseif id == "eventEndDate"> 
159            <#assign eventEndDate = eventEndDate?date("yyyy-MM-dd")?date /> 
160        </#if> 
161    </#if> 
162</#macro> 

Suche