This is the angular 8 nepali date picker project, custom built for nepali date picking functionality with real data till 2090 BS.
Use the datepicker component as following in your desired angular component.
<nepali-datepicker
[value]='field.value'
(callback)="update($event)">
</nepali-datepicker>
-
Clone this repo:
git clone https://github.com/solo-developer/angular-nepali-datepicker.git
-
Go to
angular-nepali-datepicker
directory:cd angular-nepali-datepicker
-
Install the dependencies:
npm install
- Run
ng serve
for a dev server. - Navigate to
http://localhost:4200/
.
The app will automatically reload if you change any of the source files.
- Run
ng build
to build the project. - The build artifacts will be stored in the
dist/
directory. Use the-prod
flag for a production build.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
This repo is forked from https://github.com/bmnepali/angular-nepali-datepicker and credit to Buddha Man Nepali.
- Upgraded angular version from 5 to 8.
- Used real datas instead of mock ones.
- Minor bug fixes and css customisations.
- Code unrelated to datepicker removed