Override browser settings on input of date


When I use WebDatePicker it always display the information as mm/dd/year. How can I override this to be either locale or specific format like year-mm-dd (which VSC defaults displays until first use and then later only displays mm/dd/year) ?


This is based on the browser locale.

The browser locale is configured at browser level

The browser locale cannot be changed from the web application itself

It is by design for the user experience, that the user browser locale settings are respected in UI controls.


Checked on my laptop and it should be Norwegian settings but with English (American) for language. Tested some other input settings using w3schools and all ended up with the same display as in my project. Looks like chrome ignores locals and only uses the language to decide how to display this :

Checking for options to get around this. Thanks for the links.