aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorJulien Maulny <julien.maulny@protonmail.com>2019-10-05 18:10:49 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-10-23 10:47:34 +0200
commite8050208969ee8af554c0aad276bea41dcf304ef (patch)
treea82203fde250afb4318921584a59d17ee129571a /client/src/app/videos
parent18c9772876d0e36a4f404d914140f3d24d6037e1 (diff)
downloadPeerTube-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.html4
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