node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

nepali-date-picker

Nepali-Date-Picker

Install:

For npm installation :

$ npm install nepali-date-picker --save

For bower installation :

$ bower install nepali-date-picker --save`

How do I use it?

  • First include to page css and js files
<!-- this should go after your </body> -->
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="dist/jquery.nepaliDatePicker.min.js"></script>
<link rel="stylesheet" href="dist/nepaliDatePicker.min.css">
  • Html
<input type="text" value="" name="date" class="date-picker">
  • Javascript
$(".date-picker").nepaliDatePicker({
      dateFormat: "%D, %M %d, %y",
      closeOnDateSelect: true,
      minDate : "सोम, जेठ १०, २०७३",
      maxDate : "मंगल, जेठ ३२, २०७३"
  });

For deplopers only

Installing dependancies

$ bower install
 
$ npm install
 
#if you already install grunt dependencies
$ grunt update

### Minifying javascript & css

$ grunt compress

### Testing calender Functions

$ grunt test