Saltar navegación

[Resuelto] Display shortened days of the week / months names

This support ticket is created 3 years, 8 months ago. 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.

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por matthieuB-5 3 years, 8 months ago.

Autor
Mensajes
#2470381

Hi

I would like to show a toolset date field shortened to 3 characters:

November = Nov
September = Sep
...

Friday= Fri
Saturday = Sat
...

So basically limited to 3 characters for month and day of the week.

Can you help me?
Thanks!

#2470717

Nigel
Colaborador

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+01:00)

Screenshot 2022-10-05 at 16.12.30.png

Hi there

If you are outputting the date field using a Single Field block, you'll find the relevant settings in the sidebar at the bottom, under Field Settings.

You can enter custom formats. See here for examples of the codes: enlace oculto

'D' is 3-letter days. 'M' is 3-letter months.

#2471181

My issue is resolved now. Thank you!