THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


Bonjour,
est-il possible de modifier le format de #DATE d'un contenu (filtre ?) pour obtenir le format standard d'attribut pour la balise <time> ?

<!-- datetime with time-zone example -->
<time datetime="2012-06-10T12:25+01:00">10 juin 2012</time>

http://html5doctor.com/the-time-element/
http://www.w3.org/TR/NOTE-datetime
http://www.alsacreations.com/article/li … -time.html

Merci ;-)

Last edited by oliv06 (10-06-2012 11:31:35)

Offline


Utilise le filtre phpexpr avec strftime()


OpenStudio Toulouse

Offline


Ha super !
Par contre je ne trouve pas lequel c'est à télécharger :
http://thelia.net/spip.php?page=plugins … ubrique=33

Il est toujours disponible ?

Offline

Offline


Super, merci Franck !!!

Offline


Avec #FILTRE_phpexpr[strftime(#DATE)] ?

Offline


Heu... Non.

#FILTRE_phpexpr[date("c", strtotime("#DATE #HEURE"))]


OpenStudio Toulouse

Offline


Ha… voilà !