X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Futils.ts;h=7c8ae2e3e5e664c135925c38b801fe3953ad0afc;hb=1e1265b36c09df1465aa2b4866815c957b6a532e;hp=c3189a570500680ed132d83593adee7ae8c8a8a0;hpb=8094a8980265a0a28e508dbd7cf7c7029e6d98b6;p=github%2FChocobozzz%2FPeerTube.git
diff --git a/client/src/app/shared/utils.ts b/client/src/app/shared/utils.ts
index c3189a570..7c8ae2e3e 100644
--- a/client/src/app/shared/utils.ts
+++ b/client/src/app/shared/utils.ts
@@ -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 ''
- }
-
- static getRowEditButton () {
- return ''
- }
}