Nepali Date Picker jQuery Plugin for everyone. 🇳🇵
npm install nepali-date-picker
https://leapfrogtechnology.github.io/nepali-date-picker/demo/
Include jQuery
, nepaliDatePicker.min.js
and nepaliDatePicker.min.css
in your HTML.
<!-- this should go after your </body> -->
<script src="https://code.jquery.com/jquery-3.7.1.slim.min.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/nepali-date-picker@2.0.2/dist/nepaliDatePicker.min.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://unpkg.com/nepali-date-picker@2.0.2/dist/nepaliDatePicker.min.css
crossorigin="anonymous" />
<input type="text" value="" name="date" class="date-picker" />
$('.date-picker').nepaliDatePicker({
dateFormat: '%D, %M %d, %y',
closeOnDateSelect: true,
minDate: 'सोम, जेठ१०, २०à¥à¥©',
maxDate: 'मंगल, जेठ३२, २०à¥à¥©'
});
npm install
npm run update
npm run build
npm test