Describe the bug
It seems that i18n use the long format, which is "%Y年%m月%d日(%a)", to show in the table list. When filtering, it deliver by this format and cannot search from database
config.model "model_name" do
configure :date_field_name do
strftime_format "%Y-%m-%d"
end
end
I do this to let filter work, but it will display the column in this format too.
Reproduction steps
Use datepicker to pick a date on date field to filter, but not working.
Expected behavior
Show the list date field column in i18n long format, but deliver by iso8601 when filtering will be better.
Describe the bug It seems that i18n use the long format, which is "%Y年%m月%d日(%a)", to show in the table list. When filtering, it deliver by this format and cannot search from database
I do this to let filter work, but it will display the column in this format too.
Reproduction steps Use datepicker to pick a date on date field to filter, but not working.
Expected behavior Show the list date field column in i18n long format, but deliver by iso8601 when filtering will be better.