]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/utils.ts
Fix http token interceptor
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / utils.ts
index c3189a570500680ed132d83593adee7ae8c8a8a0..7c8ae2e3e5e664c135925c38b801fe3953ad0afc 100644 (file)
@@ -2,15 +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>'
-  }
-
-  static getRowEditButton () {
-    return '<span class="glyphicon glyphicon-pencil glyphicon-black"></span>'
-  }
 }