Yii2 Jalali date library

Installs: 84

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-11-16 18:49:22 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.