@ngx-utility/dates

Angular Utility Dates Module

Usage no npm install needed!

<script type="module">
  import ngxUtilityDates from 'https://cdn.skypack.dev/@ngx-utility/dates';
</script>

README

Date Utils Module

Installation

npm install --save @ngx-utility/dates moment

Setup

@NgModule({
  imports: [
    BrowserModule,
    UtilityDatesModule
  ],
  bootstrap: [AppComponent]
})
export class AppModule {
}

Usage

FromNow Pipe

<span>{{yesterday|fromNow}}</span>

Other pipes

See documentation: https://xbranch.github.io/ngx-utility/#/dates