]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - client/src/app/shared/utils.ts
Add info when server is processing a video at upload
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / utils.ts
... / ...
CommitLineData
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}