Fix non-localized date in community poll

We've found this issue thanks to the `Style/RedundantParentheses`
rubocop rule.
This commit is contained in:
Javi Martín
2021-08-11 15:09:59 +02:00
parent 0be6eb9512
commit a93384a2e1

View File

@@ -5,6 +5,6 @@
<p class="topic-info">
<%= 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)) %>
</p>
</div>