]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/utils.ts
Client: support video language
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / utils.ts
CommitLineData
28798b5d
C
1import { DatePipe } from '@angular/common';
2
3export class Utils {
4
5 static dateToHuman(date: String) {
7af75da4 6 return new DatePipe('en').transform(date, 'medium');
28798b5d
C
7 }
8
9 static getRowDeleteButton() {
10 return '<span class="glyphicon glyphicon-remove glyphicon-black"></span>';
11 }
12}