From 763b5c41f31aba1d26f6d3b4d46d38933193d530 Mon Sep 17 00:00:00 2001 From: j-corry Date: Thu, 21 Nov 2024 15:44:07 +0000 Subject: [PATCH] - Round search time to 2 figures instead of 3 --- app/views/search/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb index 02121de..66f93cf 100644 --- a/app/views/search/index.html.erb +++ b/app/views/search/index.html.erb @@ -90,7 +90,7 @@ of <%= number_to_delimited(@search_data.number_of_results, separator: ",") %> in - <%= "#{(Time.now - @start_time).round(3)} seconds" %>. + <%= "#{(Time.now - @start_time).round(2)} seconds" %>.