From e987d80195fe24be1fb084b68860a19e544394fd Mon Sep 17 00:00:00 2001 From: girst Date: Sat, 29 May 2021 15:06:54 +0200 Subject: [PATCH] use apostrophe as thousands seperator periods and commas could be interpreted as decimals, thin space was too easily overlooked (if displayed at all). the swiss version seems to be an acceptable compromise. --- app/youtube/templates/watch.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/youtube/templates/watch.html.j2 b/app/youtube/templates/watch.html.j2 index 994cfbc..26fb1c3 100644 --- a/app/youtube/templates/watch.html.j2 +++ b/app/youtube/templates/watch.html.j2 @@ -86,7 +86,7 @@ var sha256=function a(b){function c(a,b){return a>>>b|a<<32-b}for(var d,e,f=Math
Duration
{{ length | format_time }}
Views -
{{ '{0:,}'.format(views | int)|replace(","," ") }} +
{{ '{0:,}'.format(views | int)|replace(",","'") }}
Published
{{ published.split('T')[0] }}
Rating -- 2.39.3