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