[TYPO3-UG France] Formatage de la date de tt_news incorrect

pcsystemd pcsystemd pcsystemd at gmail.com
Fri Jan 9 16:18:03 CET 2009


Bonjour,

j'ai un souci avec la date pour l'extension tt_news. J'ai mis dans mon Setup
le typoscript pour passer la date en français :

//Dates en français avec tt_news
plugin.tt_news {

# SINGLE news
displaySingle {
age_stdWrap.age = 1
date_stdWrap.strftime= %e-%b-%Y %H:%M
time_stdWrap.strftime= %H:%M
title_stdWrap.wrap = <b>|</b>
author_stdWrap.case = upper
author_stdWrap.typolink.parameter.field = author_email

#imageCount=2
#imageWrapIfAny = <div class="news-single-img">|</div>

email_stdWrap.setContentToCurrent = 1
email_stdWrap.typolink.parameter.current = 1
#caption_stdWrap.wrap = |
caption_stdWrap.wrap = |
caption_stdWrap.trim=1
caption_stdWrap.required=1
}

# LATEST news
displayLatest {
date_stdWrap.strftime= %e-%b-%Y
time_stdWrap.strftime= %H:%M
caption_stdWrap.if.directReturn = 0
subheader_stdWrap.crop = 100 | ...
subheader_stdWrap.ifEmpty.field = bodytext
#imageCount=1
#imageWrapIfAny = <div class="news-single-img">|</div>
}

# LIST news
displayList {
age_stdWrap.age = 1
date_stdWrap.strftime= %e-%b-%Y
time_stdWrap.strftime= %e-%b-%Y %H:%M
#caption_stdWrap.wrap = |
caption_stdWrap.wrap = |
caption_stdWrap.trim=1
caption_stdWrap.required=1
subheader_stdWrap.crop = 300 | ...
subheader_stdWrap.ifEmpty.field = bodytext
#imageCount=1
#imageWrapIfAny =
}

displayArchive {
age_stdWrap.age = 1
date_stdWrap.strftime= %e-%b-%Y
time_stdWrap.strftime= %e-%b-%Y %H:%M
caption_stdWrap.wrap = |
caption_stdWrap.trim=1
caption_stdWrap.required=1
subheader_stdWrap.crop = 300 | ...
subheader_stdWrap.ifEmpty.field = bodytext
imageCount=1
imageWrapIfAny =
}
}

mais la date s'affiche avec un .of au milieu et de plus le parametre %e
devrait m'afficher le jour avec un format numérique hors le jour s'affiche
en lundi, mercredi etc..

exemple :
lundi 22. of décembre 2008
Avez vous une idée du problème?

Merci
-- 
Pcsystemd


More information about the TYPO3-france mailing list