Skip to content

Dates to use browser or standard format #2185

@ivnnv

Description

@ivnnv

Is your feature request related to a problem? Please describe.
Both a feature request and a problem, deploy dates are shown in american format, which is extremely confusing for non-american people as something like
Screenshot 2024-11-03 at 19 47 53
will read as "eleven of march of 2024", when its actually "three of november of 2024"

Describe the solution you'd like
This and other dates to localize using the browser configuration or just use non-opinionated standard YYYY/MM/DD

UPDATE: In case you were wondering, my locale is correctly set, and it correctly transforms dates coming as YYYY/MM/DD:
Screenshot 2024-11-03 at 20 02 17

I had a quick look at the frontend and maybe moment is not doing its job well here:
https://github.com/caprover/caprover-frontend/blob/master/src/containers/global/Timestamp.tsx#L12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions