You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
CHEN-WEI-YU
changed the title
japanese date format cannot be filtered
Japanese date format cannot be filtered
May 10, 2023
CHEN-WEI-YU
changed the title
Japanese date format cannot be filtered
i18n Japanese date format cannot be filtered
May 10, 2023
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.
The text was updated successfully, but these errors were encountered: