<commit_before>Yii2 jQuery Timeago Plugin
==========================
Yii2 extension for [jQuery](https://jquery.com) plugin [timeago](http://timeago.yarp.com) which makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago") from ISO 8601 formatted dates and times embedded in your HTML (à la microformats).

Installation
------------

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist davidhirtz/yii2-timeago "*"
```

or add

```
"davidhirtz/yii2-timeago": "*"
```

to the require section of your `composer.json` file.


Usage
-----

Once the extension is installed, simply use it in your view like this:

```php
<?php \davidhirtz\yii2\timeago\AssetBundle::register($this); ?>```

You can disable the default locale behavior by configuring your asset manager like this:

```php
'assetManager'=>[
	'bundles'=>[
		'davidhirtz\yii2\timeago\TimeagoAsset'=>[
			'locale'=>false,
		],
	],
],```<commit_msg>Class name typo<commit_after>Yii2 jQuery Timeago Plugin
==========================
Yii2 extension for [jQuery](https://jquery.com) plugin [timeago](http://timeago.yarp.com) which makes it easy to support automatically updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago") from ISO 8601 formatted dates and times embedded in your HTML (à la microformats).

Installation
------------

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist davidhirtz/yii2-timeago "*"
```

or add

```
"davidhirtz/yii2-timeago": "*"
```

to the require section of your `composer.json` file.


Usage
-----

Once the extension is installed, simply use it in your view like this:

```php
<?php \davidhirtz\yii2\timeago\TimeagoAsset::register($this); ?>```

You can disable the default locale behavior by configuring your asset manager like this:

```php
'assetManager'=>[
	'bundles'=>[
		'davidhirtz\yii2\timeago\TimeagoAsset'=>[
			'locale'=>false,
		],
	],
],```
{'fraction_non_alphanumeric': 0.1661160924964606, 'fraction_numerical': 0.011326097215667769, 'mean_word_length': 4.478036175710594, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '692320', 'n_tokens_mistral': 709, 'n_tokens_neox': 660, 'n_words': 218}