Change format data DD/MM/YYYY

Hi,

I would like to change de language of the calendar to pt-br when i use the code below:

I’m use react

I would like to change de language of the calendar to pt-br when I use the code below:

Which calendar do you mean?
Also - cannot see your code.

Hi xidedix,

My code is : < input class=“form-control” type=“date” id=“date-input” name=“date-input” placeholder=“dd-MM-yyyy” locate=“pt-br” format=“dd-MM-yyyy” ></input >

With <input type="date"> date is formatted based on the locale of the user’s browser and parsed value is always formatted yyyy-mm-dd

You can try to use a third party react date picker like https://reactdatepicker.com/ or sth else, suitable for you.