Description
This plugin adds a function that prints a fuzzy date and time in french. For example, “22 octobre 2012 à 14:00” can get changed to “Il y a 3 heures”, or “Hier en début d’après-midi”, or “Il y a 2 mois”, etc.
It also provides hooks to automatically fuzzify comments dates and times, but it’s pretty rough at the moment.
This plugin is adapted from Splee’s Fuzzy DateTime.
Contribute
I (mll) am not really a developer. Lots of things could be improved : * make this plugin really international, with a GUI to edit what’s hard-coded at the moment * make a GUI to set the options on wich dates must be fuzzified * …
So, if you feel like contributing to the development of this plugin, please let me know!
Installation
- Install and activate like any other plugin.
- Go to Settings > Fuzzy DateTime and edit the sentences as you will
- The comments dates and times are automatically changed. You may also use in your theme the function fuzzy_datetime(the_date).
FAQ
My comments date and time are a bit garbled. How comes ?
Yes, the plugin replaces the dates for a fuzzy DateTime, and the time with nothing. So, if you had “Rédigé le 22 octobre 2012 à 14:00”, you’ll get instead “Rédigé le Il y a 3 heures à 14:00”.
You’ll have to edit your theme, or better, make a child theme to have something correct. If someone has a solution, I’ll gladly include it in a future version.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Fuzzy DateTime in french” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Fuzzy DateTime in french” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.8
- fixed: working informative URLs
- fixed: GMT offset problem
- added: more complete (but not exhaustive yet) hooks to comments
- fixed: UTF-8 encoding
0.7
- fixed: minor typos
- fixed: still some stripslashes problems
- no changes 🙁 using hooks
0.6.FR.2
- fixed: one typo corrected (“journé”)
- changed: now returns (and does not print) a string
0.6.FR.1
- added: French adaptation (more than a translation)
- fixed: added stripslashes to the admin form values
- fixed: maybe some other bugs, I don’t remember


