On a wordpress website, I used a custom date field in a custom posttype. Until today (since 0ne year) everything worked well. Today when creating a new post I realized, that after I select a Date (for exampla 20.02.2020) from the datepicker it shows the date 19.02.2020. When saving the post, the date 19.02.2020 is saved. It always shows -1 day. What is wrong??
This is quite a strange issue. Could you check that your timezone in the wordpress backend setting is correct? You can check this by going to Settings -> General on the backend.
Once you have done this please let me know if the issue still remains. It could be that the offset is incorrect.
Also does the published time on the post says the correct date or is that this is just showing up for the custom fields only ?
If you are still seeing the issue would you mind allowing me to have admin access to the website as well as so a link to a post on the frontend where this issue is occurring?
Hi Shane,
thnak you for the fast reply. The Timezone ist set correct. Also the date and time of the post is correct. I used the jquery datepicker on other pages of this website but I dont have this problem there. Its just the problem on the tollset custom post type side.
I am very sorry but I can´t provide a login for the Backend because it is a live page with sensible customer data for 0ver 2000 users.
Like I said before, this problem is very new. everything worked well before. I ve added some images.
Perhaps there was a silent update of a plugin on your site that is causing this. You have quite a few plugins installed.
I'm not sure if it is possible for you to disable all the non-toolset plugins and try again ? Or alternatively you can provide me with a copy of the site if this is an option for you.
Please let me know as i'm not able to replicate this issue on my test install with the latest versions of toolset.
Im realy sorry. I have a lot of problems with the server connection at the moment. Copying the files is nearly impossible. Im trying to copy the files now since 3 hours. Evey 5 minitues the connection is failing and I have to start again 🙁
Do yyou have any other suggestions while I try to transfer the files?
after testing a long time while setting up the testserver, I could find a solution. In one PHP file, there was a date_default_timezone_set which caused the failure. Everything works fine now 🙂