X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fmisc%2Ffrom-now.pipe.ts;h=fac02af0bd6b59e3aa23c1e10d5ccc766f2b428b;hb=2efd32f697549c59337db5177a93749af8e605d8;hp=80dab02ba65630f5706f83c4cba57a6b46ae4bc0;hpb=2bbb34127fccd187ed690949b6791e49fdd77194;p=oweals%2Fpeertube.git diff --git a/client/src/app/shared/misc/from-now.pipe.ts b/client/src/app/shared/misc/from-now.pipe.ts index 80dab02ba..fac02af0b 100644 --- a/client/src/app/shared/misc/from-now.pipe.ts +++ b/client/src/app/shared/misc/from-now.pipe.ts @@ -1,8 +1,7 @@ import { Pipe, PipeTransform } from '@angular/core' // Thanks: https://stackoverflow.com/questions/3177836/how-to-format-time-since-xxx-e-g-4-minutes-ago-similar-to-stack-exchange-site - -@Pipe({name: 'fromNow'}) +@Pipe({ name: 'myFromNow' }) export class FromNowPipe implements PipeTransform { transform (value: number) {