Dashboard date filters "Between" are not following the configured language and datetime format setting.
Example:
Metabase version: 0.40.2
Connected Metabase in MySQL 8
Language: Portuguese (Brazil)
Datetime format: D/M/YYYY
In the "setting" table of the metabase database there are these records:
site-locale: pt_BR
custom-formatting: {"type/DateTime":{"time_style":"k:mm"},"type/Number":{"number_separators":", "},"type/Currency":{"currency": "BRL"},"type/Temporal":{"date_separator":"/","time_style":"HH:mm","date_abbreviate":false,"date_style":"D/M/YYYY"}}
Below are some prints: