material-ui icon indicating copy to clipboard operation
material-ui copied to clipboard

How to do for show format of date it is 'dd/mm/yyyy' in a text field by default appear 'mm/dd/yyyy'

Open canoqb10 opened this issue 9 years ago • 3 comments

I need show the format of date of this way 'dd/mmm/yyyy', thanks

<Field style={style.field} title="Birthday" name="dob" disabled={sendIn} component={TextField} validate={Validations.required} type="date" InputLabelProps={{ shrink: true, }} /> screen shot 2017-10-10 at 12 30 42 pm

canoqb10 avatar Oct 10 '17 17:10 canoqb10

@canoqb10 You are using the native date input type. This question is outside of the scope of Material-UI. Please refer to the html documentation. This resource could help https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date.

oliviertassinari avatar Oct 10 '17 18:10 oliviertassinari

Thank you @oliviertassinari

canoqb10 avatar Oct 10 '17 18:10 canoqb10

It's a duplicate of #8131.

oliviertassinari avatar Mar 11 '19 22:03 oliviertassinari