Linux 软件免费装
Banner图

Relative Date

开发者 dartiss
更新时间 2017年11月21日 16:44
PHP版本: 5.3 及以上
WordPress版本: 4.9
版权: GPLv2 or later
版权网址: 版权信息

标签

seconds time date ago minutes relative hours months days years

下载

1.0 1.1 1.1.1 1.2 1.2.1 1.2.2 2.0 2.0.1 2.0.2

详情介绍:

Relative dates are where, instead of showing the exact date of a post, you can say it was posted "4 days ago". Tomorrow, this message would say "5 days ago". This plugin has been designed to be called from your theme (manually or automatically) to display these relative dates, as required. All relative dates are shown up to 2 depths and are not designed to be 100% accurate (due to rounding), but rather to give the reader an idea as to how old something is. Some examples... Something that is 1 year and 2 months and 3 weeks old will be output as "1 year, 2 months". Something that is 2 year and 0 months and 3 weeks old will be output as "2 years, 3 weeks". Key features include... Technical specification... Please visit the Github page for the latest code development, planned enhancements and known issues.

安装:

Relative Date can be found and installed via the Plugin menu within WordPress administration (Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and installed manually...
  1. Upload the entire wp-relative-date folder to your wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress administration.
Voila! It's ready to go.

屏幕截图:

  • An example of the relative dates in use
  • The settings option that allows you to automate the conversion

升级注意事项:

2.0.2
  • Assorted maintenance changes

更新日志:

Learn more about my version numbering methodology 2.0.2 2.0.1 2.0 1.2.2 1.2.1 1.2 1.1.1 1.1 1.0