ngx-np-datepicker
is an Angular datepicker component that supports the Nepali calendar (Bikram Sambat).
It allows users to pick Nepali dates easily, supports form integrations, and is ideal for applications needing a native Nepali date experience.
npm install ngx-np-datepicker
Import the NepaliDatepickerModule
in your app.module.ts
import { NepaliDatepickerModule } from 'angular-nepali-datepicker';
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
NepaliDatepickerModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
then use <np-datepicker [(ngModel)]="nepaliDate"></np-datepicker>
in your template
<np-datepicker></np-datepicker>
This package has no dependency.
The supported date format is dd-mm-yyyy
MIT License
- Fixed date issues related to BS 2081 and 2082.
- Module import bug fixed.