]>
Commit | Line | Data |
---|---|---|
1 | import { DatePipe } from '@angular/common'; | |
2 | ||
3 | export class Utils { | |
4 | ||
5 | static dateToHuman(date: String) { | |
6 | return new DatePipe('en').transform(date, 'medium'); | |
7 | } | |
8 | ||
9 | static getRowDeleteButton() { | |
10 | return '<span class="glyphicon glyphicon-remove glyphicon-black"></span>'; | |
11 | } | |
12 | } |