From a93384a2e128c46e7c2f60367738d1b5503404ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 11 Aug 2021 15:09:59 +0200 Subject: [PATCH] Fix non-localized date in community poll We've found this issue thanks to the `Style/RedundantParentheses` rubocop rule. --- app/views/communities/_poll.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/communities/_poll.html.erb b/app/views/communities/_poll.html.erb index 70792c327..22825a981 100644 --- a/app/views/communities/_poll.html.erb +++ b/app/views/communities/_poll.html.erb @@ -5,6 +5,6 @@

<%= t("communities.poll.take_part", - from: l(poll.starts_at.to_date), to: (poll.ends_at.to_date)) %> + from: l(poll.starts_at.to_date), to: l(poll.ends_at.to_date)) %>