Open cotiga opened 1 year ago
9.19
8.1
1.5
MySQL 8
I am working on an application in French. A datetime is stored as varchar(30) from front in this format: 2022-12-19T23:34
In BREAD I set the field in text with this json: { "format": "%A %d %B %Y to %H:%M" } It works, but day and month are not in french translated!
{ "format": "%A %d %B %Y to %H:%M" }
Set config > app > locale to fr
In a text bread field, set: "format": "%A %d %B %Y à %H:%M" Result example: Sunday 01 January 2023 à 20:35
Must be: Dimanche 01 janvier 2023 à 20:35
No response
Laravel version
9.19
PHP version
8.1
Voyager version
1.5
Database
MySQL 8
Description
I am working on an application in French. A datetime is stored as varchar(30) from front in this format: 2022-12-19T23:34
In BREAD I set the field in text with this json:
{ "format": "%A %d %B %Y to %H:%M" }
It works, but day and month are not in french translated!Steps to reproduce
Set config > app > locale to fr
In a text bread field, set: "format": "%A %d %B %Y à %H:%M" Result example: Sunday 01 January 2023 à 20:35
Expected behavior
Must be: Dimanche 01 janvier 2023 à 20:35
Screenshots
No response
Additional context
No response