]> 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 1dd6f96f0b77c24abd6ea50628bb379ecea4206f..7c8ae2e3e5e664c135925c38b801fe3953ad0afc 100644 (file)
@@ -1,12 +1,8 @@
-import { DatePipe } from '@angular/common';
+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>';
-  }
 }