sakhalin/yii2-widget-timeago
Composer 安装命令:
composer require sakhalin/yii2-widget-timeago
包简介
Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps. Forked from https://github.com/yiidoc/yii2-timeago
README 文档
README
Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy timestamps. Forked from @rmm5t for Yii2 framework
Installation
Either run
composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
And add
"sakhalin/yii2-widget-timeago": "dev-master",
Usage
<?= \sakhalin\timeago\TimeAgo::widget(['timestamp' => $model->published_at]); ?>
Now you can use the widget. If you have time, I will write detailed instructions. If you want to change or issue. please open the issue or create pull Thanks for use.
统计信息
- 总下载量: 59
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-01-29