Datetime format issue in form
On the same website but when I go to Chrome, one computer is d/m/y and the other is m/d/y. The other computer is also misaligned. Can anyone tell me where the problem is?
Here is the code:
Forms\Components\DateTimePicker::make('date_of_birth')
->required()
->label(__('Ngày tháng năm sinh'))
->seconds(false),


2 Replies
this input uses
datetime-local
type and it displays the date/time format based on your browser language / os settings.