Hello,
Here a small snippet for problems to format dates in UTF-8. It allow to get a date of the current document or another document, and to format it according your needs. If the date includes accents, for example "février" (February in French), and ModX is configured with UTF-8, the date will be convert in UTF-8 for a correct display. Else the date is displayed in ISO-8859-1.
Thanks for your test and comments
Sorry for my english. I'm french... My dictionary is near me, but it's only a dictionary !
Salut guillaume
cela fait deux trois jours que je bosse sur ModX et je n’arrive pas a comprendre comment tu fais pour que ton snippet FormatDate puisse etre utiliser par la suite dans un module. C’est a dire comment on fait pour utiliser ton snippet afin d’afficher la date sur la page web???
Merci d’avance de m’aider car j’ai un peu de mal quand meme...
Plus la qu