Closed cairocoder01 closed 2 months ago
Seems there isn't support for that on the standard date element. It uses the users current locale based on their OS. That might be sufficient. But if we want to force it, we could do something like this: https://stackoverflow.com/a/76010154/92876
After discussion among the developer team, we'll leave the date UI in the browser language as the user should be most familiar with that format because it is what they have chosen as their OS language.
WordPress allows the configuration of date format in
/wp-admin/options-general.php
. That should be passed in to thedt-date
component to control how the date is formatted.