Skip Navigation

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

This support ticket is created 2 years, 2 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.

This topic contains 2 replies, has 2 voices.

Last updated by matthieuB-5 2 years, 2 months ago.

Author
Posts
#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

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00: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: hidden link

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

#2471181

My issue is resolved now. Thank you!