Linux 软件免费装
Banner图

Plugin Name

开发者 mll
更新时间 2012年10月23日 17:05
PHP版本: 2.0 及以上
WordPress版本: 3.4
版权: GPLv2
版权网址: 版权信息

标签

time date relative français fuzzy floue heure franch

下载

0.8

详情介绍:

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 :

安装:

  1. Install and activate like any other plugin.
  2. Go to Settings > Fuzzy DateTime and edit the sentences as you will
  3. The comments dates and times are automatically changed. You may also use in your theme the function fuzzy_datetime(the_date).

屏幕截图:

  • The settings page
  • A sample of the fussy date and time generated

常见问题:

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.

更新日志:

0.8 0.7 0.6.FR.2 0.6.FR.1