type('date') format?

There's any way to change it from the m/d/Y? really can't find it and the DatePicker::make does not allow typing, that's why im using type('date')
1 Reply
AlexAnder
AlexAnder2y ago
In DB date formate stays the same, but in viw You can make
DatePicker::make('date_of_birth')->format('d/m/Y')
DatePicker::make('date_of_birth')->format('d/m/Y')
or
DatePicker::make('date_of_birth')->displayFormat('d/m/Y')
DatePicker::make('date_of_birth')->displayFormat('d/m/Y')
change how You need type('date') comes from regional settings in client PC and firefox..

Did you find this page helpful?