aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/utils.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-31 10:41:44 +0100
committerChocobozzz <me@florianbigard.com>2018-01-31 10:41:44 +0100
commit61bbc7277501692d1520a421dff5af5d38ba6cf4 (patch)
tree4c705f7f42f70fc33f5233a4d79b6a6826482cc5 /client/src/app/shared/utils.ts
parent915c5bbe538769b1d3430b27817d6a861c766ef3 (diff)
downloadPeerTube-61bbc7277501692d1520a421dff5af5d38ba6cf4.tar.gz
PeerTube-61bbc7277501692d1520a421dff5af5d38ba6cf4.tar.zst
PeerTube-61bbc7277501692d1520a421dff5af5d38ba6cf4.zip
Fix human dates in result lists
Diffstat (limited to 'client/src/app/shared/utils.ts')
-rw-r--r--client/src/app/shared/utils.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/client/src/app/shared/utils.ts b/client/src/app/shared/utils.ts
deleted file mode 100644
index 7c8ae2e3e..000000000
--- a/client/src/app/shared/utils.ts
+++ /dev/null
@@ -1,8 +0,0 @@
1import { DatePipe } from '@angular/common'
2
3export class Utils {
4
5 static dateToHuman (date: Date) {
6 return new DatePipe('en').transform(date, 'medium')
7 }
8}