This is a configurable jalali (persian, khorshidi, shamsi, jalali) date-picker for Angular 2 applications based on kendo-dateinputs.
-
Download from npm:
npm install @tiampersian/kendo-jalali-date-inputs --save
-
import the
KendoJalaliDateInputsModule
module in typescript (.ts) or es6 files like below:
import { KendoJalaliDateInputsModule } from '@tiampersian/kendo-jalali-date-inputs';
-
Add "KendoJalaliDateInputsModule" next to the DateInputsModule (or date input components for example ) to your module import:
@NgModule({
...
imports: [
...
KendoJalaliDateInputsModule,
DateInputsModule//or add usage components => DatePickerComponent || CalendarComponent || DateInputComponent || TimePickerComponent || DateTimePickerComponent || MultiViewCalendarComponent
]
})