11.0.0 • Published 3 years ago
ng-http-date-moment v11.0.0
NgHttpDate Moment Plugin
What?
Moment plugin for NgHttpDate.
Installation
You need to install ng-http-date
first. See NgHttpDate for instructions.
Install ng-http-date-moment
via npm or yarn or any other compatible packet manager:
npm i ng-http-date-moment
If you're not using the current Angular version you should use an older version of ng-http-date-moment
:
Angular | 11.x | 10.x | 9.x | 8.2.x | older |
---|---|---|---|---|---|
ng-http-date-moment | 11.x | 10.x | 9.x | 8.x | not supported |
Import the NgHttpDateMomentModule
in your root module:
import {NgHttpDateModule} from 'ng-http-date-core';
import {NgHttpDateMomentModule} from 'ng-http-date-moment';
@NgModule({
declarations: [...],
imports: [
...
NgHttpDateModule,
NgHttpDateMomentModule,
...
],
providers: [...],
bootstrap: [...]
})
export class AppModule {
...
}