Zespół Szkolno-Przedszkolny nr 7

An error occurred while processing the template.
The string doesn't match the expected date/time/date-time format. The string to parse was: "Śr, 03 lip 2024 12:20:19 +0200". The expected format was: "EEE, dd MMM yyyy HH:mm:ss Z".
The nested reason given follows:
Unparseable date: "Śr, 03 lip 2024 12:20:19 +0200"

----
FTL stack trace ("~" means nesting-related):
	- Failed at: createDate = .vars["reserved-article-...  [in template "20096#20121#BIP-JEDNOSTKA-ORGANIZACYJNA-OSOBA-PRAWNA" at line 281, column 17]
----
1<#assign 
2serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() 
3themeDisplay = serviceContext.getThemeDisplay() 
4group_id = themeDisplay.getScopeGroupId() 
5companyService = serviceLocator.findService("com.liferay.portal.kernel.service.CompanyLocalService") 
6journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
7assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") 
8assetVocabularyService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") 
9company = companyService.getCompanyByMx("liferay.com") 
10globalGroupId = company.getGroup().getGroupId() 
11assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") 
12
13<section class="bip-article-section"> 
14	<article class="bip-article"> 
15		<dl class="bip-article-data-container card-shadow-light overflow-hidden bip-article-data-container-padding" style="padding-bottom: 44px"> 
16			<div class="bip-article-data-tile bip-article-bottom-border-light"> 
17				<dt class="h5-style bip-data-subtitle">Adres</dt> 
18				<#assign address = ""> 
19				<#attempt> 
20					<#assign address = address + Ulica.getData()> 
21					<#recover> 
22				</#attempt> 
23				<#attempt> 
24					<#assign address = address + " " + NumerBuynku.getData()> 
25					<#recover> 
26				</#attempt> 
27				<#attempt> 
28					<#if NumerLokalu?? && NumerLokalu.getData() != ""> 
29						<#assign address = address + "/" + NumerLokalu.getData()> 
30					<#else> 
31						<#assign address = address> 
32					</#if> 
33					<#recover> 
34				</#attempt> 
35				<#attempt> 
36					<#assign address = address + ", " + KodPocztowy.getData()> 
37					<#recover> 
38				</#attempt> 
39				<#attempt> 
40					<#assign address = address + " " + Miasto.getData()> 
41					<#recover> 
42				</#attempt> 
43				<dd> 
44					<#if address != ""> 
45						${address} 
46						<#else> 
47							<@freemarkerLib.stringValueHandler /> 
48					</#if> 
49				</dd> 
50			</div> 
51			<div class="bip-article-data-tile bip-article-bottom-border"> 
52				<#attempt> 
53					<@freemarkerLib.issuerCategory "Dzielnica" journalArticleLocalService true false true /> 
54					<#recover> 
55						<dt>Dzielnica</dt> 
56						<dd> 
57							<@freemarkerLib.stringValueHandler /> 
58						</dd> 
59				</#attempt> 
60			</div> 
61			<div class="bip-article-data-tile bip-article-bottom-border"> 
62				<dt class="h5-style bip-data-subtitle">Kontakt</dt> 
63				<dd> 
64					<ul> 
65						<li class="bip-article-row bip-article-row_padded"> 
66							<#assign phones = ""> 
67							<#attempt> 
68								<#list Telefon.getSiblings() as cur_Telefon> 
69									<#assign phones = phones + cur_Telefon.getData() > 
70									<#if cur_Telefon?has_next> 
71										<#assign phones = phones + ", "> 
72									</#if> 
73								</#list> 
74								<#recover> 
75							</#attempt> 
76							<p class="bip-subtitle-horizontal" style="min-width: 56px;">Telefon</p> 
77							<p> 
78								<#if phones != ""> 
79									${phones} 
80								<#else> 
81									<@freemarkerLib.stringValueHandler /> 
82								</#if> 
83							</p> 
84						</li> 
85						<#if Fax?? && Fax.getData() != ""> 
86							<li class="bip-article-row bip-article-row_padded"> 
87								<p class="bip-subtitle-horizontal" style="min-width: 56px;">Faks</p> 
88								<p> 
89									<@freemarkerLib.stringValueHandler Fax /> 
90								</p> 
91							</li> 
92						</#if> 
93						<li class="bip-article-row bip-article-row_padded"> 
94							<p class="bip-subtitle-horizontal" style="min-width: 56px;">E-mail</p> 
95							<p> 
96								<#if Email?? && Email.getSiblings()?has_content && Email.getSiblings()?first.getData() != ""> 
97									<#assign emailLinks = ""> 
98									<#list Email.getSiblings() as cur_Email> 
99										<#assign trimmedEmail = cur_Email.getData()?trim> 
100										<#if cur_Email?index != 0> 
101											<#assign emailLinks = emailLinks + ", "> 
102										</#if> 
103										<#assign emailLinks = emailLinks + "<a href=\"mailto:${trimmedEmail}\">${trimmedEmail}</a>" > 
104									</#list> 
105									${emailLinks} 
106								<#else> 
107									<@freemarkerLib.stringValueHandler /> 
108								</#if> 
109							</p> 
110						</li> 
111					</ul> 
112				</dd> 
113			</div> 
114			<div class="bip-article-data-tile bip-article-bottom-border"> 
115				<dt class="h5-style bip-data-subtitle">Adres BIP</dt> 
116				<dd> 
117					<#if AdresBip?? && AdresBip.getData() != "" && AdresBip.getData() != "Brak"> 
118						<@freemarkerLib.buttonLink request AdresBip.getData()  /> 
119					<#else> 
120						<@freemarkerLib.stringValueHandler /> 
121					</#if> 
122				</dd> 
123			</div> 
124			<div class="bip-article-data-tile bip-article-bottom-border"> 
125				<dt class="h5-style bip-data-subtitle">Strona WWW</dt> 
126				<dd> 
127					<#if WWW?? && WWW.getData() != ""> 
128						<@freemarkerLib.buttonLink request WWW.getData()  /> 
129					<#else> 
130						<@freemarkerLib.stringValueHandler /> 
131					</#if> 
132				</dd> 
133			</div> 
134			<div class="bip-article-data-tile bip-article-bottom-border"> 
135				<#if SeparatorKierownictwo?? && SeparatorKierownictwo.Stanowisko?? && SeparatorKierownictwo.Stanowisko.getData() != ""> 
136					<dt class="h5-style bip-data-subtitle">${SeparatorKierownictwo.Stanowisko.getData()?capitalize}</dt> 
137				<#else> 
138					<dt class="h5-style bip-data-subtitle">Kierownik</dt> 
139				</#if> 
140 
141				<dd> 
142					<#if SeparatorKierownictwo??> 
143						<@freemarkerLib.stringValueHandler SeparatorKierownictwo.ImieINazwisko /> 
144						<#else> 
145							<@freemarkerLib.stringValueHandler /> 
146					</#if> 
147				</dd> 
148			</div> 
149			<#assign currentArticle = journalArticleLocalService.getArticle(groupId, .vars['reserved-article-id'].data) /> 
150			<#assign jaResourcePrimKey = currentArticle.resourcePrimKey /> 
151			<#assign entry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", jaResourcePrimKey) /> 
152			<#assign jaCategories = entry.getCategories() /> 
153			<#assign selectedVocabulary = assetVocabularyService.fetchGroupVocabulary(globalGroupId, "Forma prawna") > 
154			<#assign categories = jaCategories?filter(cat -> cat.getVocabularyId() == selectedVocabulary.getVocabularyId()) > 
155 
156			<#assign rootCategory = "" > 
157			<#assign rootCategoryId = 0 > 
158			<#assign childCategories = []> 
159 
160			<#list categories as cur_cat> 
161				<#if cur_cat.isRootCategory() > 
162					<#assign rootCategory = cur_cat.getName()> 
163					<#assign rootCategoryId = cur_cat.getCategoryId()> 
164				</#if> 
165			</#list> 
166 
167			<#if rootCategoryId != 0> 
168				<#assign childCategories = assetCategoryLocalService.getChildCategories(rootCategoryId)> 
169			</#if> 
170 
171			<#assign categoryNames = []> 
172			<#list childCategories as cur_childCat> 
173				<#list categories as cur_cat> 
174					<#if cur_cat.getName() == cur_childCat.getName()> 
175						<#assign categoryNames = categoryNames + [cur_childCat.getName()]> 
176					</#if> 
177				</#list> 
178			</#list> 
179 
180			<#assign anotherCategoryNames = []> 
181			<#list categories as category> 
182				<#assign categoryName = category.getName()> 
183				<#if categoryName?has_content> 
184					<#assign anotherCategoryNames = anotherCategoryNames + [categoryName]> 
185				</#if> 
186			</#list> 
187 
188			<#assign hasNonEmptySiblingsJN = false> 
189			<#list JednostkaNadrzedna.getSiblings() as cur_JednostkaNadrzedna> 
190				<#if cur_JednostkaNadrzedna.getData()?has_content && cur_JednostkaNadrzedna.getData() != ""> 
191					<#assign hasNonEmptySiblingsJN = true> 
192					<#break> 
193				</#if> 
194			</#list> 
195 
196			<#assign hasNonEmptySiblingsP = false> 
197			<#list Placowka.getSiblings() as cur_Placowka> 
198				<#if cur_Placowka.getData()?has_content && cur_Placowka.getData() != ""> 
199					<#assign hasNonEmptySiblingsP = true> 
200					<#break> 
201				</#if> 
202			</#list> 
203 
204			<#assign  
205				isJN = JednostkaNadrzedna?? && JednostkaNadrzedna.getSiblings()?has_content && hasNonEmptySiblingsJN 
206				isP = Placowka?? && Placowka.getSiblings()?has_content && hasNonEmptySiblingsP 
207
208 
209			<#if !isJN > 
210				<div class="bip-article-data-tile bip-article-bottom-border"> 
211					<dt class="h5-style bip-data-subtitle">Forma prawna</dt> 
212					<#attempt> 
213						<dd style="display: flex;"> 
214							<div class="bip-serial-horizontal-item"> 
215								<#if rootCategory?has_content>${rootCategory}<#if categoryNames?size gt 0>, ${categoryNames?join(", ")}</#if><#else>${anotherCategoryNames?join(", ")}</#if> 
216							</div> 
217						</dd> 
218						<#recover> 
219							<@freemarkerLib.stringValueHandler /> 
220					</#attempt> 
221				</div> 
222			</#if> 
223 
224			<div class="bip-article-data-tile bip-article-bottom-border" 
225				style="${(isJN || isP)?then('border-width: 3px;', '')}" 
226
227				<dt class="h5-style bip-data-subtitle">Uwagi</dt> 
228				<dd> 
229					<@freemarkerLib.stringValueHandler DodatkoweInformacje /> 
230				</dd> 
231			</div> 
232 
233            <#if isJN > 
234                <div class="bip-article-data-tile bip-article-bottom-border"> 
235                    <dt class="h5-style bip-data-subtitle">Podmiot nadrzędny</dt> 
236                    <dd> 
237                        <#list JednostkaNadrzedna.getSiblings() as cur_JednostkaNadrzedna> 
238                            <#if cur_JednostkaNadrzedna.getData() != ""> 
239                                <#attempt> 
240                                    <@freemarkerLib.linkToJournalArticle cur_JednostkaNadrzedna journalArticleLocalService /> 
241                                    <#recover> 
242                                </#attempt> 
243                            </#if> 
244                        </#list> 
245                    </dd> 
246                </div> 
247				<div class="bip-article-data-tile bip-article-bottom-border"> 
248					<dt class="h5-style bip-data-subtitle">Forma prawna</dt> 
249					<#attempt> 
250						<dd style="display: flex;"> 
251							<div class="bip-serial-horizontal-item"> 
252								<#if rootCategory?has_content>${rootCategory}<#if categoryNames?size gt 0>, ${categoryNames?join(", ")}</#if><#else>${anotherCategoryNames?join(", ")}</#if> 
253							</div> 
254						</dd> 
255						<#recover> 
256							<@freemarkerLib.stringValueHandler /> 
257					</#attempt> 
258				</div> 
259            </#if> 
260 
261            <#if isP > 
262                <div class="bip-article-data-tile bip-article-bottom-border"> 
263                    <dt class="h5-style bip-data-subtitle">Placówki</dt> 
264                    <dd> 
265                        <#list Placowka.getSiblings() as cur_Placowka> 
266                            <#if cur_Placowka.getData() != ""> 
267                                <#attempt> 
268                                    <@freemarkerLib.linkToJournalArticle cur_Placowka journalArticleLocalService /> 
269                                    <#recover> 
270                                </#attempt> 
271                            </#if> 
272                        </#list> 
273                    </dd> 
274                </div> 
275            </#if> 
276		</dl> 
277 
278		<#setting locale="${locale}"> 
279 
280		<#assign 
281		createDate = .vars['reserved-article-create-date'].data?datetime("EEE, dd MMM yyyy HH:mm:ss Z") 
282		modifiedDate = .vars['reserved-article-modified-date'].data?datetime("EEE, dd MMM yyyy HH:mm:ss Z") 
283		formattedCreateDate = createDate?string("yyyy-MM-dd'T'HH:mm") 
284		formattedModifiedDate = modifiedDate?string("yyyy-MM-dd'T'HH:mm") 
285		wasModified = formattedCreateDate != formattedModifiedDate 
286
287 
288		<#if .vars['reserved-article-author-name'].getData() != "Migrator Migrator" || wasModified> 
289			<#--  Meta dane  --> 
290			<@freemarkerLib.displayArticleMetadata /> 
291		</#if> 
292 
293		<#-- Rejestr zmian --> 
294        <@freemarkerLib.changesRegistry journalArticleLocalService /> 
295 
296		</div> 
297	</article> 
298</section>