]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/utils.ts
Design follow admin page
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / utils.ts
index 832311f892c900059aa9c29cfbdee8c04f558af6..7c8ae2e3e5e664c135925c38b801fe3953ad0afc 100644 (file)
@@ -2,11 +2,7 @@ import { DatePipe } from '@angular/common'
 
 export class Utils {
 
-  static dateToHuman (date: String) {
+  static dateToHuman (date: Date) {
     return new DatePipe('en').transform(date, 'medium')
   }
-
-  static getRowDeleteButton () {
-    return '<span class="glyphicon glyphicon-remove glyphicon-black"></span>'
-  }
 }