Yii2 Jalali date library

Installs: 83

Dependents: 13

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Type:yii2-extension

v1.0.1 2019-10-05 16:40 UTC

This package is not auto-updated.

Last update: 2024-04-06 15:49:21 UTC


README

Yii2 Jalali date library based on jdf library for yii2 by Hooman.Mirghasemi

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist elephantsgroup/eg-jdf "*"

or add

"elephantsgroup/eg-jdf": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php 
use elephantsGroup\jdf\Jdf;
?>
<?= Jdf::jdate('H:i:s'); ?>```


This extension built with http://jdf.scr.ir/ you can get full document there.