Fix non-localized date in community poll
We've found this issue thanks to the `Style/RedundantParentheses` rubocop rule.
This commit is contained in:
@@ -5,6 +5,6 @@
|
|||||||
|
|
||||||
<p class="topic-info">
|
<p class="topic-info">
|
||||||
<%= t("communities.poll.take_part",
|
<%= 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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user