[TYPO3-english] date change

iam li yahoowoohoo at hotmail.com
Tue Jul 26 19:56:19 CEST 2016


I am trying to display the date (in french) as such, if it is the first day of the month, I would like to add "er" after "1" giving "1er". There is no other changes needed.


This is what is have now, 
"
lib.navigation.footer.10.data = page:lastUpdated
lib.navigation.footer.10.strftime = %e %B %Y
lib.navigation.footer.10.wrap = <p>Dernier changement : |</p>
"

I would like something like:
"
lib.navigation.footer.10.data = page:lastUpdated
if (%e==1){ then %e=1er }
lib.navigation.footer.10.strftime = %e %B %Y
lib.navigation.footer.10.wrap = <p>Dernier changement : |</p>
"

The output should look like: Dernier changement 1er septembre 2016




More information about the TYPO3-english mailing list