faravaghi/jalali-fullcalendar

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Bootstrap Date Picker for Yii1 Extension

Installs: 24

Dependents: 0

Suggesters: 0

Security: 0

Stars: 16

Watchers: 2

Forks: 13

Open Issues: 1

Language:JavaScript

Type:yii-extension

v1.0.1 2017-09-13 06:02 UTC

This package is not auto-updated.

Last update: 2021-06-12 10:26:08 UTC


README

Jalali FullCalendar

Latest Stable Version Total Downloads Latest Unstable Version License

Great JavaScript calendar converted to Yii extension with Full Calendar.

Example usage:

<?php 
$this->widget('ext.JFullCalendar.JFullCalendar', array(
    'options'=>array(
        'header'=>array(
            'left'=>'prev,next',
            'center'=>'title',
            'right'=>'today'
        )
    )));
?>

sample load event from controller:

'events'=>$this->createUrl('event/calendarevents'),

and load from two or more controllers:

'eventSources'=>array(
	$this->createUrl('event/calendarevents'),
	$this->createUrl('site/calendarevents'),
),

If you are on Jalai date, need the convert Jalai to Gregorian for show in calendar. for example if your date is '1392/05/27' , need convert to '2013/08/18'.