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/videos | |
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/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index cd60c407f..68f284be3 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -42,7 +42,7 @@ | |||
42 | <div class="d-block d-md-none"> <!-- only shown on medium devices, has its conterpart for larger viewports below --> | 42 | <div class="d-block d-md-none"> <!-- only shown on medium devices, has its conterpart for larger viewports below --> |
43 | <h1 class="video-info-name">{{ video.name }}</h1> | 43 | <h1 class="video-info-name">{{ video.name }}</h1> |
44 | <div i18n class="video-info-date-views"> | 44 | <div i18n class="video-info-date-views"> |
45 | Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views | 45 | Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle> - {{ video.views | myNumberFormatter }} views |
46 | </div> | 46 | </div> |
47 | </div> | 47 | </div> |
48 | 48 | ||
@@ -51,7 +51,7 @@ | |||
51 | <h1 class="video-info-name">{{ video.name }}</h1> | 51 | <h1 class="video-info-name">{{ video.name }}</h1> |
52 | 52 | ||
53 | <div i18n class="video-info-date-views"> | 53 | <div i18n class="video-info-date-views"> |
54 | Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views | 54 | Published <my-date-toggle [date]="video.publishedAt"></my-date-toggle> - {{ video.views | myNumberFormatter }} views |
55 | </div> | 55 | </div> |
56 | </div> | 56 | </div> |
57 | 57 | ||