Get started with angular-relative-date CDN

MIT licensed

Angular-Relative-Date: library offering simple filters for showing relative dates in Angular apps.

Tags:
  • relative
  • date

Stable version

Copied!

How to start using angular-relative-date CDN


import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AngularRelativeDateModule } from 'angular-relative-date'; // Import the module

import AppComponent from './app.component';

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, AngularRelativeDateModule], // Add the module to imports
  bootstrap: [AppComponent]
})
export class AppModule {}
Copied!
Copied!
Copied!
Copied!

All versions