Navigation überspringen

[Closed] Date display

This support ticket is created vor 1 year, 10 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Zeitzone des Unterstützers: America/Sao_Paulo (GMT-03:00)

Dieses Thema enthält 3 Antworten, hat 3 Stimmen.

Zuletzt aktualisiert von Mateus Getulio vor 1 year, 10 months.

Assistiert von: Mateus Getulio.

Author
Artikel
#2732350

I am trying to display a custom field and it is a date. I am doing this in a view using just a text block. The date is coming through but It is formated like this: 2024-07-07. I want to format it like this: July 7, 2007. How can I do this?

#2732797

Nigel
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+01:00)

Screenshot 2024-08-27 at 07.30.41.png

Hi there

When you say you are using a text block, you mean a Paragraph block, using Toolset's inline dynamic sources?

When I just checked doing that myself, it first output the date in a generic format that I didn't want, but when I started to highlight the text it gave me the formatting options, from which I could choose "F j, Y", which is the format you are looking for.

Can you check if you can do the same?

#2733140

Yes that option comes up when using the POST date but I am using a custom field that is a date and yes I am using the paragraph block. Is there another block I can use to display the date the format I want?

#2733483

Mateus Getulio
Unterstützer

Sprachen: Englisch (English )

Zeitzone: America/Sao_Paulo (GMT-03:00)

date format.png

Hello there,

I checked it and for custom fields of the type date the format option shows up as well, please check the screenshot.

If you can't see it I'd need to investigate to check what's causing it.

Can you please share temporary admin login details along with a link to a page where this field can be seen?

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

regards,
Mateus

The topic ‘[Closed] Date display’ is closed to new replies.