عکس sms1989
this is jalaali (persian) calendar datepicker for materilizecss. extended from materilize native datepickerJavaScript
موضوع‌ها
۱
فورک‌ها
۴
ستاره‌ها
۴
تاریخ ایجاد
۲۷ مهر ۱۳۹۶
آخرین بروزرسانی
بیشتر از ۴ سال قبل

persian-materialize-datepicker

this is jalaali (persian) calendar for materilizecss. extended from materilize native datepicker

How to use

you can add js file to your project and call ppickadate for persian datepicker

Simple Example

$('.pdatepicker').ppickadate({
    selectMonths: true, // Creates a dropdown to control month
    selectYears: 15, // Creates a dropdown of 15 years to control year,
    closeOnSelect: false, // Close upon selecting a date,
});

Settings

all settings like materialize but we have a new setting gregorianReturn as boolian for return gregorian date;

 $('.pdatepicker').ppickadate({
    selectMonths: true, // Creates a dropdown to control month
    selectYears: 15, // Creates a dropdown of 15 years to control year,
    closeOnSelect: false, // Close upon selecting a date,
    gregorianReturn: true //Default is false
});

Persian number

for persian number you can use another plugin Persian number jQuery plugin