thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.77k stars 2.67k forks source link

Timestamp field not localisable #5709

Open toto975 opened 1 year ago

toto975 commented 1 year ago

Laravel version

9.31.0

PHP version

8.1.11

Voyager version

1.5

Database

MySQL 8.0.31

Description

The timestamp field is in US english format only.

Steps to reproduce

In the bread, set a field to timestamp.

In add/edit view image It's displayed as a datetime html type

image

I tried to change to datetime-local in vendor\tcg\voyager\resources\views\formfields\timestamp.blade.php The french calendar appears on the first click, image We can't select any time. If we click againt, the field is reset and so on.

Expected behavior

The timestampfield must be localisable

Screenshots

No response

Additional context

No response