GithubHelp home page GithubHelp logo

walid-mashal / pashto-date-picker Goto Github PK

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

A JQuery Pashto Date Picker

HTML 18.66% JavaScript 81.34%
datetime-picker date-picker localization-tool date-time pashto-language afghan afghan-calendar calendar

pashto-date-picker's Introduction

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:

  1. dist/css/persian-datepicker-0.4.5.css
  2. lib/bootstrap/css/bootstrap.min.css
  3. text/lib/bootstrap/js/bootstrap.min.js
  4. dist/css/persian-datepicker-0.4.5.css
  5. lib/persian-date.js
  6. dist/js/persian-datepicker-0.4.5.js
  7. dist/js/date_picker_initialize.js

Without Time Picker

To use only the datepicker to select year, month, day

To Use:

<input class="pashto_datepicker" type="text">

With Time Picker

To use only the datepicker to select complete date and time

To Use:

<input class="pashto_datetimepicker" type="text">

Only Time Picker

To use only the datepicker to select only time

To Use:

<input class="pashto_timepicker" type="text"/>

Only Year Picker

To use only the datepicker to select only the year, not month, day or time

To Use:

<input class="pashto_yearpicker" type="text"/>

Only Month Picker

To use only the datepicker to select only the month, not year, day or time

To Use:

<input class="pashto_monthpicker" type="text"/>

Only Year & Month Picker

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"/>

English Digits

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"/>

pashto-date-picker's People

Watchers

 avatar

Forkers

shouyejing

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.