Hi,
I've seen in different view/component, you're using YYYY/MM/DD format, but the french date format is DD/MM/YYYY, how can we fix that ?
I've change the en-CA to fr-FR and it's ok, but we can probably dealing something dynamicaly with localization ?
We can add a default localization value in DB for each user registered and an option in the profile or an update directly from the page when the user change is language ?
What are you thinking ?
|
{{ new Date(seasonData.start_date).toLocaleDateString("en-CA") }} |
Hi,
I've seen in different view/component, you're using YYYY/MM/DD format, but the french date format is DD/MM/YYYY, how can we fix that ?
I've change the en-CA to fr-FR and it's ok, but we can probably dealing something dynamicaly with localization ?
We can add a default localization value in DB for each user registered and an option in the profile or an update directly from the page when the user change is language ?
What are you thinking ?
G5V/src/views/Season.vue
Line 12 in 11684ff