News

An error occurred while processing the template.
The string doesn't match the expected date/time/date-time format. The string to parse was: "mer., 22 juil. 2015 10:28:00 +0200". The expected format was: "EEE, dd MMM yyyy hh:mm:ss Z".
The nested reason given follows:
Unparseable date: "mer., 22 juil. 2015 10:28:00 +0200"

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${dateactu?date["EEE, dd MMM yyyy hh:...  [in template "20099#20135#284091" at line 1, column 1660]
----
1<#assign getterUtil = staticUtil["com.liferay.portal.kernel.util.GetterUtil"] /> <#assign longGroupId = getterUtil.getLong($groupId)> <#assign journalArticleId = .vars['reserved-article-id'].data> <#assign journalArticleResourceLocalServiceUtil = staticUtil["com.liferay.journal.service.JournalArticleResourceLocalServiceUtil"]> <#assign articleResourcePK = journalArticleResourceLocalServiceUtil.getArticleResourcePrimKey(groupId, journalArticleId)/> <#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")> <#assign assetVocabularyService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")> <#assign assetEntryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> <#assign assetEntry = assetEntryService.getEntry("com.liferay.journal.model.JournalArticle", articleResourcePK)> <#assign displayPageUuid = assetEntry.layoutUuid> <#assign assertCategories = assetEntry.categories> <#assign assetTags = assetEntry.getTags()> <#assign tagsService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetTagLocalService")> <#assign displayPageUrl = ""> <#assign dateactu = .vars['reserved-article-display-date'].data> <#if $displayPageUuid??> <#assign displayPageLayout = layoutLocalService.getLayoutByUuidAndGroupId($displayPageUuid, $groupId)> <#assign displayPageUrl = displayPageLayout.friendlyURL> </#if> <div class="edito-portlet edito-actu edito-actu-long resizable"> <p class="entete"> <span class="date"> <#if .lang == "FR"> ${dateactu?date["EEE, dd MMM yyyy hh:mm:ss Z"]?string("MM/dd/yy")} <#else> ${dateactu?date["EEE, dd MMM yyyy hh:mm:ss Z"]?string["dd/MM/yy"]} </#if> </span> <#list assertCategories as cat> <#assign vocabularyId = cat.vocabularyId> <#assign vocabulary = assetVocabularyService.getVocabulary(vocabularyId)> <#if vocabulary.name == "Actualité"> <#if cat.name == "Profil"> <span class="cat">#language("edito.profil") &gt;</span> <#assign count=0> <#list assertCategories as profil> <#assign vocabularyId = profil.vocabularyId> <#assign vocabulary = assetVocabularyService.getVocabulary(vocabularyId)> <#assign code = profil.name.toLowerCase().replaceAll("[ /]+","-").replaceAll("é|è|ê","e").replaceAll("'","-")> <#assign url = "./actualites-"+code+".html"> <#if vocabulary.name == "Profil"> <#if count >= 1> , </#if> <span class="profil"><a href="${url}" title="${profil.name}">${profil.name}</a></span> <#assign count = count + 1> </#if> </#list> <#else> <#assign code = cat.name.toLowerCase().replaceAll("[ /]+","-").replaceAll("é|è|ê","e").replaceAll("'","-")> <#assign url = "./actualites-"+code+".html"> <span class="cat"><a href="${url}" title="${cat.name}">${cat.name}</a></span> </#if> </#if> </#list> </p> <h1 class="titre"><a href="${displayPageUrl}" title="${titre.getData()}">${titre.getData()}</a></h1> <#list paragraphe.getSiblings() as p> <div class="paragraphe"> <#if p.getData() != ""> <h2 class="titre-paragraphe">${p.getData()}</h2> </#if> <#if p.image.getData() != ""> <img src="${p.imageParagraphe.getData()}" alt="${p.getData()}" /> </#if> <div>${p.texte.getData()}</div> </div> </#list> </div>