Opened 2 months ago
Closed 2 months ago
#63362 closed defect (bug) (invalid)
Date in Spanish
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Date/Time | Keywords: | |
Focuses: | Cc: |
Description
Hello,
In Spanish, the date is usually displayed something like "Lunes a 28 de Abril de 2025" which is set in General WordPress settings with l a j de F de Y
Instead of having "Jueves a 17 de Octubre de 2024", WordPress is displaying "jueves pm 17 17+00:00 octubre 17+00:00 2024"
I'm not sure if we can do something more than escaping because the date format is using format character which should not be interpreted.
Regards
Change History (1)
Note: See
TracTickets for help on using
tickets.
Hi there,
You'll want to escape the "a" and "de" there with a backslash. See https://wordpress.org/documentation/article/customize-date-and-time-format/#escaping, which is linked to from the settings page.
l \a j \d\e F \d\e Y