Skip to content

French translation : date format isn't correct #168

@tech62

Description

@tech62

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") }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions