This Project is an extension of the Babakhani Persian Date Picker
For more details on how to use this toolkit, refer to the following link: Persian Date Picker
Apart from the instructions given in the link above you can take advantage of the date_picker_initialize.js to easily use Pashto Datepicker as shown in the following instructions.
Pre-requisites: You need to include the following css and javascript files to take advantage of the class defined:
- dist/css/persian-datepicker-0.4.5.css
- lib/bootstrap/css/bootstrap.min.css
- text/lib/bootstrap/js/bootstrap.min.js
- dist/css/persian-datepicker-0.4.5.css
- lib/persian-date.js
- dist/js/persian-datepicker-0.4.5.js
- dist/js/date_picker_initialize.js
To use only the datepicker to select year, month, day
To Use:
<input class="pashto_datepicker" type="text">
To use only the datepicker to select complete date and time
To Use:
<input class="pashto_datetimepicker" type="text">
To use only the datepicker to select only time
To Use:
<input class="pashto_timepicker" type="text"/>
To use only the datepicker to select only the year, not month, day or time
To Use:
<input class="pashto_yearpicker" type="text"/>
To use only the datepicker to select only the month, not year, day or time
To Use:
<input class="pashto_monthpicker" type="text"/>
To use only the datepicker to select both the year and the month not day or time
To Use:
<input class="pashto_yearandmonthpicker" type="text"/>
To display the days only in only the datepicker to select only the year, not month, day or time
To Use:
<input class="pashto_englishdigitpicker" type="text"/>