Skip Navigation

[Resuelto] Post Date field doesn’t output date format according to Site Language setting.

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
Post Date field doesn't output date format according to Site Language setting.

Solution:
This issue is known to us. The simple workaround to this is, instead of using single field block, you should try to add "Fields and Text" block and then within the fields and text block you should try to add the shortcode to display the post date. For example:

[wpv-post-date format="F j Y"]

Relevant Documentation:

This support ticket is created hace 2 años, 6 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por diyanK hace 2 años, 6 meses.

Asistido por: Minesh.

Autor
Mensajes
#2376207

Hi team,

I noticed that the Post Date field output doesn't return proper output according to the Site Language WordPress setting.

I believe all Toolset field outputs should output according to this setting, including front-end forms.

Currently I'm building a Timeline Archive view that includes the Post Date, however I would like to output the Month Name according to the Site Language, instead of a 1-12 number.

Any ideas how to fix this (using Toolset Blocks to build my Archive template)?

Thanks!
D.

#2376397

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

This issue is known to us and already reported as internal ticket. We will try to fix it but there is no ETA on it.

The simple workaround to this is, instead of using single field block, you should try to add "Fields and Text" block and then within the fields and text block you should try to add the shortcode to display the post date. For example:

[wpv-post-date format="F j Y"]

This should help you to fix this issue.

#2377991

That worked like a charm! Thank you!