Skip Navigation

[Resolved] Expiration date is changing the date back 1 day

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

Problem: The expiration date keeps getting set back 1 day.

Solution: Update to the latest version of Forms to get the fix for this issue.

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

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 12 replies, has 2 voices.

Last updated by FelipeP5703 5 years, 3 months ago.

Assisted by: Christian Cox.

Author
Posts
#1278901

I am trying to: I'm trying to set up an expiration date on a custom post but it is changing the date I set up. I do have the latest updated plugins.

Here is the video about it: hidden link

#1278947

Hi can you tell me the default timezone setting of your server? You can usually find this in a PHP info page. We have instructions for creating a phpinfo page here: https://toolset.com/toolset-requirements/

Then follow these troubleshooting steps:
- Temporarily switch to a default theme like Twenty Nineteen and deactivate all plugins except Types, Views and Forms.
- Clear your browser cache and test again.
- If the problem is resolved, reactivate your theme and other plugins one by one until the problem returns.
- if the problem is not resolved, I'll have to take a closer look.

#1281065

Christian,

My server timezone according to Godaddy is Arizona's timezone.

I followed your instructions about the plugins and the theme but it still did not work.

What else can I do?

#1281255

Okay thanks for running those tests. I'm asking my 2nd tier team to take a closer look. I can replicate something similar on a local test environment, so I'm not sure if there is a problem or if I just don't understand how the dates are represented here - as UTC, as User's local time, or as server's local time. I'll let you know what I find out.

#1289107

Any update on this? This is the final step for me to complete the site.

#1289651

I don't have anything new to report just yet, I can see this has been escalated to our developers but I don't have a patch or update available for a fix. I'll keep you posted here when I receive more information.

#1289679

Ok Christian, thank you. I'll look forward to their response.

#1300563

Hello, I'm still waiting for a fix patch or update from our developers. In the meantime, an erratum post has been published, describing the problem: https://toolset.com/errata/wrong-expiration-date-saved-for-posts-if-wordpress-timezone-is-utc-negative/

#1300743

Thank you Christian, looking forward to the update!

#1343181

Although the update fixed the one issue of the date going back 1 day, it still not changing status - check out the video - hidden link

#1343203

Hi, it might not change status immediately if the cron is set at an interval higher than once a minute. What setting is selected in Toolset > Settings > Forms > Post Expiration? For example, if Once Hourly is selected, the post status may not change immediately.

#1343421

I didn't even know there was a settings for that. I thought it would be at the exact same time the post expiration time was set to. So I changed the settings to once hourly and I'm going to test it. I'll let you know, thanks!

#1343515

The update to Forms plugin has fixed the issue. My issue is resolved now. Thank you!