material-jalali-moment-adapter
v4.0.0
Published
[![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] [![NPM version][npm-version-image]][npm-url] [![Codacy Badge][codacy-quality]][codacy-quality-url]
Downloads
24
Readme
آداپتور هجری شمسی برای Angular Material DatePicker
Set jalali (shamsi, persian, khorshidi) dates for Angular Material DatePicker.
Jalali calendar system borrowed from Jalali Moment js library.
An npm package that contains jalali moment DateAdapter for angular material datepicker.
How to
Install via npm
npm install material-jalali-moment-adapter
Usage
API reference
Add to your ngModule:
import { MaterialJalaliMomentAdapterModule } from 'material-jalali-moment-adapter';
@NgModule({
...
imports: [ MaterialJalaliMomentAdapterModule, ]
})
export class AppModule { }
That's it. You will have Jalali calendar for your datePickers.