Skip Navigation

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

This thread is resolved. Here is a description of the problem and solution.

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 2 years, 5 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

This topic contains 2 replies, has 2 voices.

Last updated by diyanK 2 years, 5 months ago.

Assisted by: Minesh.

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

Languages: English (English )

Timezone: 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!