0.0.101 • Published 4 years ago

@joyingsoft/ng-timeago v0.0.101

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

NgTimeago

Angular 9 Date, DateTime, and timeago

Currently only support Chinese language.

Usage

demo

Install

npm i @joyingsoft/ng-timeago

Import

import { NgTimeagoModule } from 'ng-timeago';
@NgModule({
      imports: [..., NgTimeagoModule]
      ...})

use

      .color-b {color:green;}
      ...
      <ng-timeago [date]="dt"
                  [styles]="'color-b'"></ng-timeago>
      <ng-timeago [date]="dt"
                  [show]="'date'"></ng-timeago>
      <ng-timeago [date]="dt"
                  [show]="'dateTime'"></ng-timeago>
      <ng-timeago [date]="dt"
                  [show]="'timeago'"></ng-timeago>

This library was generated with Angular CLI

0.0.101

4 years ago

0.0.91

4 years ago

0.0.92

4 years ago

0.0.9

4 years ago