diff options
author | Julien Maulny <julien.maulny@protonmail.com> | 2019-10-05 18:10:49 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-10-23 10:47:34 +0200 |
commit | e8050208969ee8af554c0aad276bea41dcf304ef (patch) | |
tree | a82203fde250afb4318921584a59d17ee129571a /client/src/app/shared/video | |
parent | 18c9772876d0e36a4f404d914140f3d24d6037e1 (diff) | |
download | PeerTube-e8050208969ee8af554c0aad276bea41dcf304ef.tar.gz PeerTube-e8050208969ee8af554c0aad276bea41dcf304ef.tar.zst PeerTube-e8050208969ee8af554c0aad276bea41dcf304ef.zip |
Allow to toggle video publication date to display absolute date
Diffstat (limited to 'client/src/app/shared/video')
-rw-r--r-- | client/src/app/shared/video/video-miniature.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video-miniature.component.html b/client/src/app/shared/video/video-miniature.component.html index 5d5691b75..abd193bb1 100644 --- a/client/src/app/shared/video/video-miniature.component.html +++ b/client/src/app/shared/video/video-miniature.component.html | |||
@@ -17,7 +17,7 @@ | |||
17 | </a> | 17 | </a> |
18 | 18 | ||
19 | <span class="video-miniature-created-at-views"> | 19 | <span class="video-miniature-created-at-views"> |
20 | <ng-container *ngIf="displayOptions.date">{{ video.publishedAt | myFromNow }}</ng-container> | 20 | <my-date-toggle *ngIf="displayOptions.date" [date]="video.publishedAt"></my-date-toggle> |
21 | <ng-container *ngIf="displayOptions.date && displayOptions.views"> - </ng-container> | 21 | <ng-container *ngIf="displayOptions.date && displayOptions.views"> - </ng-container> |
22 | <ng-container i18n *ngIf="displayOptions.views">{{ video.views | myNumberFormatter }} views</ng-container> | 22 | <ng-container i18n *ngIf="displayOptions.views">{{ video.views | myNumberFormatter }} views</ng-container> |
23 | </span> | 23 | </span> |