Fixes date format on legislation helper

This commit is contained in:
decabeza
2018-11-13 18:05:17 +01:00
parent 6cfd0c2e13
commit 5abeeb8588
2 changed files with 16 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
module LegislationHelper
def format_date(date)
l(date, format: "%d %h %Y") if date
l(date, format: "%d %b %Y") if date
end
def format_date_for_calendar_form(date)