Skip Navigation

[Resolved] Timestamp bug

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

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 3 voices.

Last updated by Nigel 5 years ago.

Assisted by: Nigel.

Author
Posts
#1401669

I am trying to:
Render the date [types field="dataevento" style="text" format="l j F Y" id=""][/types]

Link to a page where the issue can be seen:
hidden link

I expected to see:
Ven 20 Dicembre 2019

Instead, I got:
Ven 6 20 Dicembre19

#1402215

Hello, that's unusual. Can you try the following troubleshooting steps first?
- Please update your Toolset plugins to the latest versions.
- Temporarily deactivate all plugins except Types and Views, and activate a default theme like Twenty Twenty.
- If you have any custom code in wp-admin > Toolset > Settings > Custom code, please temporarily deactivate it.
- Place the custom field shortcode directly in the Event post content:

[types field="dataevento" style="text" format="l j F Y" id=""][/types]

- If a Content Template is assigned to this post, disconnect it temporarily.
- Check the post on the front-end. Is the date displayed correctly? If so, reactivate your theme and other plugins one by one until the problem returns.
- Tell me your settings in wp-admin > Settings > General for Timezone, Date format and Time format.

#1412523

No... it still doesn't work

#1413417

Nigel
Supporter

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

Timezone: Europe/London (GMT+00:00)

Screenshot 2019-12-17 at 14.56.19.png

Hi Alessandro

Can I jump in here.

On that link you shared I'm seeing 6 Dicembre, but is that not what it should be showing? That's what the title shows (screenshot).

When editing the post in the backend, what does the field show?

Right now your types shortcode includes an empty id attribute, which might not be helpful, you should probably remove that.

What is displayed if you output this field using a Views shortcode, i.e.

[wpv-post-field name="wpcf-dataevento"]

That will output the raw field value which should be a timestamp.