Skip to content
angular time-ago korean version
TypeScript JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
e2e
src
.angular-cli.json
.editorconfig
.gitignore
.npmignore
LICENSE
README.md
karma.conf.js
ng-package.json
package-lock.json
package.json
protractor.conf.js
public_api.ts
tsconfig.json
tslint.json
yarn.lock

README.md

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>  
You can’t perform that action at this time.