Вакансии

An error occurred while processing the template.
The string doesn't match the expected date/time/date-time format. The string to parse was: "Ср, 23 июн 2021 14:54:55 +0000". The expected format was: "EEE, dd MMM yyyy HH:mm:ss Z".
The nested reason given follows:
Unparseable date: "Ср, 23 июн 2021 14:54:55 +0000"

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign articleCreateDate = .vars["re...  [in template "49392#49420#BASIC-WEB-CONTENT" at line 12, column 1]
----
1${content.getData()} 
2 
3	  
4<#setting time_zone=timeZone.ID> 
5<#setting locale=locale.toString()> 
6<#setting datetime_format="EEE, dd MMM yyyy HH:mm:ss Z"> 
7 
8<#assign parseDatetimeFormat = "EEE, dd MMM yyyy HH:mm:ss Z"/> 
9<#assign atLocalization = translate(locale, "at", { "ru_RU": "в"})/> 
10<#assign displayDateFormat = "dd MMMM yyyy '" + atLocalization + "' HH:mm"> 
11 
12<#assign articleCreateDate = .vars["reserved-article-create-date"].data?datetime(parseDatetimeFormat) /> 
13<#assign articleModifiedDate = .vars["reserved-article-modified-date"].data?datetime(parseDatetimeFormat) /> 
14<#assign articleDisplayDate = .vars["reserved-article-display-date"].data?datetime(parseDatetimeFormat) /> 
15 
16<#assign templateLocale = .locale /> 
17<#setting locale=locale> 
18<div style="display:none;"> 
19    <div class="avo_created_data_source"> 
20        ${articleCreateDate?string[displayDateFormat]} 
21    </div> 
22    <div class="avo_modified_data_source"> 
23        ${articleModifiedDate?string[displayDateFormat]} 
24    </div> 
25</div> 
26<#setting locale=templateLocale> 
27 
28 
29<#function translate locale key dafultValues> 
30  <#assign translation = languageUtil.get(locale, key)/> 
31  <#if translation = key & dafultValues[locale]??> 
32    <#return dafultValues[locale]> 
33  </#if> 
34  <#return translation> 
35</#function>