Passer la navigation

[Résolu] Display shortened days of the week / months names

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

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par matthieuB-5 Il y a 3 years, 8 months.

Auteur
Publications
#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
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: 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: lien caché

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

#2471181

My issue is resolved now. Thank you!