X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Futils.ts;h=7c8ae2e3e5e664c135925c38b801fe3953ad0afc;hb=cfe1efd200f80239e19f94335364ac9ef3813c19;hp=832311f892c900059aa9c29cfbdee8c04f558af6;hpb=df98563e2104b82b119c00a3cd83cd0dc1242d25;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/utils.ts b/client/src/app/shared/utils.ts index 832311f89..7c8ae2e3e 100644 --- a/client/src/app/shared/utils.ts +++ b/client/src/app/shared/utils.ts @@ -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 '' - } }