Skip Navigation

[Gelöst] Date format in spanish

This support ticket is created vor 8 Jahre, 4 Monate. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 Antworten, has 1 Stimme.

Last updated by francoiseR vor 8 Jahre, 4 Monate.

Author
Artikel
#245914

Hi,

I'm trying to display a date in spanish with this code:

echo types_render_field("fin", array(,'format' => "j \d\e F", "style" => "text"));

I need that the date apears like: "7 de septiembre", but it displays: "7 d september"

What I'm doing wrong?

Thanks a lot

#245915

Sorry I type wrong, it displays "7 d septiembre", the problem is that "e" dessapears

#245924

I found the answer. The correct format is "j \\d\\e F"