Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

midday is not zero, is 12PM ( issue with es-ES) #338

Open
Cuantico opened this issue Mar 9, 2020 · 0 comments
Open

midday is not zero, is 12PM ( issue with es-ES) #338

Cuantico opened this issue Mar 9, 2020 · 0 comments

Comments

@Cuantico
Copy link

Cuantico commented Mar 9, 2020

midday is not zero, is 12PM ( issue with es-ES)

{new Intl.DateTimeFormat("es-ES", {
            year: "2-digit",
            month: "short",
            day: "numeric",
            hour: "numeric",
            minute: "numeric",
            second: "numeric",
            hour12: true
          }).format(date)}

Output:
9 mar. 20 0:12:27 p. m.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant