time-ago-kor
TypeScript icon, indicating that this package has built-in type declarations

0.1.14 • Public • Published

NgxTimeAgoKor

NPM version Libraries.io for releases Gitter

Angular time pipe kor version!

This project was generated with Angular CLI version 1.6.8.

Installation

npm install --save time-ago-kor

How to use

example

app.module.ts

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { TimeAgoKorModule } from "time-ago-kor";
    
@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        TimeAgoKorModule
    ],
    providers: [],
    bootstrap: [AppComponent]
})  
export class AppModule { }

.ts

export class AppComponent {  
    datetime = '2018-01-08 11:12:14';  
}  

.html

<div>{{datetime | timeAgoKor}}</div>  

Package Sidebar

Install

npm i time-ago-kor

Weekly Downloads

3

Version

0.1.14

License

MIT

Unpacked Size

34.2 kB

Total Files

17

Last publish

Collaborators

  • lyasee