From e68489717a7af03c667808103572f3a9bbaae0b6 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 28 Mar 2022 17:13:10 +0530 Subject: [PATCH] changed logic for article reading time estimation --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 216a665..42635b7 100644 --- a/index.html +++ b/index.html @@ -1308,7 +1308,7 @@ function getReadingTime(content) { const wpm = 250; const words = content.trim().split(/\s+/).length; - return Math.ceil(words / wpm); + return Math.floor(words / wpm); }