From d61b24e4590bd83a8f8c1e83b95f6e978c9b7e24 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Sun, 6 Nov 2016 21:41:32 +0100 Subject: Round readingtime to avoid crazy number Like `8.666666666667 min` --- .../CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 6347afac..498234b9 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -78,7 +78,7 @@
timer - {{ entry.readingTime / app.user.config.readingSpeed }} min + {{ entry.readingTime / app.user.config.readingSpeed|round }} min