angular2-persian-date
v0.0.14
Published
Persian Date pipes for Angular2
Downloads
13
Readme
angular2-persian-date
A simple Angular 2 pipe that convert Date to Persian date string
Usage
Import PersianDateModule
into your app's modules:
import { PersianDateModule } from 'angular2-persian-date';
@NgModule({
imports: [
PersianDateModule
]
})
This makes all the angular2-persian-date
pipes available for use in your app components.
Available pipes
persianDate pipe
@Component({
selector: 'app',
template: `
Last updated: {{myDate | persianDate}}
`
})
Prints چهارشنبه 30 فروردین 1396