Evenemang

Fel uppstod under bearbetning av mallen.
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 = docXml.valueOf("/...  [in template "4114795#4114834#4135895" at line 18, column 13]
----
1<div class="calendarList-container"> 
2    <script type="text/javascript"> 
3        //console.log("${locale}"); 
4    </script> 
5    <ul class="calendarList"> 
6<#if entries?has_content> 
7    <#list entries as curEntry> 
8        <#assign renderer = curEntry.getAssetRenderer() /> 
9        <#assign className = renderer.getClassName() > 
10        <#if className == "com.liferay.journal.model.JournalArticle"> 
11            <#assign article = renderer.getArticle() > 
12            <#assign img = article.getSmallImageURL() > 
13            <#assign dateFormat = "d.M.yyyy - HH:mm" /> 
14            <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) /> 
15            <#assign viewURL = renderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
16            <#assign docXml = saxReaderUtil.read(article.getContentByLocale(locale)) /> 
17            <#assign title = renderer.getTitle(locale) /> 
18            <#assign eventDate = docXml.valueOf("//dynamic-element[@name='eventDate']/dynamic-content/text()")?date("yyyy-mm-dd") /> 
19            <#assign eventEndDate = docXml.valueOf("//dynamic-element[@name='eventEndDate']/dynamic-content/text()") /> 
20 
21            <#assign eventTime = docXml.valueOf("//dynamic-element[@name='eventTime']/dynamic-content/text()") /> 
22            <#assign eventLocation = docXml.valueOf("//dynamic-element[@name='eventLocation']/dynamic-content/text()") /> 
23            <#assign image = docXml.valueOf("//dynamic-element[@name='image']/dynamic-content/text()") /> 
24            <#assign ingress = docXml.valueOf("//dynamic-element[@name='ingress']/dynamic-content/text()") /> 
25            <#assign documentsAndMediaImage = docXml.valueOf("//dynamic-element[@name='documentsAndMediaImage']/dynamic-content/text()") /> 
26            <#assign imageLink = docXml.valueOf("//dynamic-element[@name='imageLink']/dynamic-content/text()") /> 
27            <#assign doNotShow = docXml.valueOf("//dynamic-element[@name='doNotShow']/dynamic-content/text()") /> 
28            <#macro getLocalization id> 
29                <#if locale == "fi_FI"> 
30                    <#if id == "show_all"> 
31                    Näytä kaikki tapahtumat 
32                    </#if> 
33                <#elseif locale == "sv_SE"> 
34                    <#if id == "show_all"> 
35                    Visa alla evenemang 
36                    </#if> 
37                <#elseif locale == "nb_NO"> 
38                    <#if id == "show_all"> 
39                    Vis alle arrangementer 
40                    </#if> 
41                <#elseif locale == "en_GB"> 
42                    <#if id == "show_all"> 
43                    Show all events 
44                    </#if> 
45                <#else> 
46                    <#if id == "show_all"> 
47                    Show all events 
48                    </#if> 
49                </#if> 
50            </#macro> 
51            <#if doNotShow?? && doNotShow != "true"> 
52        <li class="entry"> 
53            <a href="${viewURL}"> 
54            <#if documentsAndMediaImage != "" || image != "" || imageLink != ""> 
55                <div class="calendarImage"> 
56                    <#if documentsAndMediaImage != ""> 
57                        <img src="${documentsAndMediaImage}" alt="${title}"/> 
58                    <#elseif imageLink?? && imageLink != ""> 
59                        <img src="${imageLink}" alt="${title}"/> 
60                    <#else> 
61                        <img src="${image}" alt="${title}"/> 
62                    </#if> 
63                </div> 
64            </#if> 
65 
66            <#if eventEndDate != ""> 
67                <#assign eventEndDate_Date = eventEndDate?date("yyyy-mm-dd") /> 
68 
69                <div class="calendar-date"><span class="lr-calender-date-start">${dateUtil.getDate(eventDate, "yyyy-mm-dd", locale)}</span> - <span class="lr-calender-date-end">${dateUtil.getDate(eventEndDate_Date, "yyyy-mm-dd", locale)}</span><span class="calendar-time">${eventTime}</span></div> 
70            <#else> 
71                <div class="calendar-date"><span class="lr-calender-date-start">${dateUtil.getDate(eventDate, "yyyy-mm-dd", locale)}</span><span class="calendar-time">${eventTime}</span></div> 
72            </#if> 
73                <script type="text/javascript">console.log("${dateUtil.getDate(eventDate, "yyyy-mm-dd", locale)}");</script> 
74                <div class="calendar-location"> 
75                    ${eventLocation} 
76                </div> 
77                <h3 class="calendar-title">${title}</h3> 
78                <div class="calendar-list-ingress"><p>${ingress}</p></div> 
79            </a> 
80        </li> 
81            </#if> 
82        </#if> 
83    </#list> 
84</#if> 
85    </ul> 
86    <div class="linkbox"><a class="news-link" href="/web/arena/alla-evenemang"><@getLocalization id="show_all" /></a></div> 
87</div> 

Språk

Dagens öppettider

Huvudbiblioteket Kinna

Bokbussen

Fritsla bibliotek

Horreds Bibliotek

Skene bibliotek

Sätila bibliotek