angular2-persian-date

    0.0.14 • Public • Published

    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

    Keywords

    none

    Install

    npm i angular2-persian-date

    DownloadsWeekly Downloads

    13

    Version

    0.0.14

    License

    none

    Unpacked Size

    42.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • mehdii