diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-31 10:41:44 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-31 10:41:44 +0100 |
commit | 61bbc7277501692d1520a421dff5af5d38ba6cf4 (patch) | |
tree | 4c705f7f42f70fc33f5233a4d79b6a6826482cc5 /client/src/app/shared/utils.ts | |
parent | 915c5bbe538769b1d3430b27817d6a861c766ef3 (diff) | |
download | PeerTube-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.ts | 8 |
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 @@ | |||
1 | import { DatePipe } from '@angular/common' | ||
2 | |||
3 | export class Utils { | ||
4 | |||
5 | static dateToHuman (date: Date) { | ||
6 | return new DatePipe('en').transform(date, 'medium') | ||
7 | } | ||
8 | } | ||