examples
Locale
Locale
You can change the locale of the date picker by passing locale option to the NepaliDatePicker constructor. Available options are en and ne.
Nepali Locale
Nepali locale is the default locale of the date picker. You can change the locale to English by passing en to the locale option.
<script>
new NepaliDatePicker('.date-picker', {
locale: 'np', // default
})
</script>
English Locale
You can change the locale to English by passing en to the locale option.
<script>
new NepaliDatePicker('.date-picker', {
locale: 'en',
})
</script>