Skip to content

dizirator/yii2-timeago

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-timeago

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

"yiidoc/yii2-timeago": "dev-master",

Usage

<?= \yii\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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%