Coder Social home page Coder Social logo

faravaghi / yii2-persian-datetimepicker Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 117 KB

Jalali Datetime Picker for Bootstrap Yii2 Extension with Tempus Dominus Bootstrap 4 Datetime Picker

License: MIT License

PHP 7.94% CSS 6.23% JavaScript 85.83%

yii2-persian-datetimepicker's Introduction

yii2-persian-datetimepicker

Jalali Datetime Picker for Bootstrap Yii2 Extension with Tempus Dominus Bootstrap 4 Datetime Picker

This extension provides a date, time or datetime picker widget for yii2 framework in Bootstrap 4 style. It's based on Tempus Dominus.

Resources

Installation

The preferred way to install this extension is through composer.

Either run

$ composer require --prefer-dist faravaghi/yii2-persian-datetimepicker

or add

"faravaghi/yii2-persian-datetimepicker": "~1.0"

to the require section of your composer.json

Example Usage

To include datepicker instance in one of your pages, call the widget like this:

<?php

use faravaghi\persianDatetimePicker\DateTimePicker;

echo $form->field(
	$model,
	'birthday'
)
->widget(DateTimePicker::class, [
	'format' => 'mm/dd/yyyy',
	'type'   => DateTimePicker::TYPE_COMPONENT_APPEND
]);

?>

License

yii2-persian-datetimepicker is released under MIT license. See bundled LICENSE for details.

yii2-persian-datetimepicker's People

Contributors

faravaghi avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.