Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
UTC time issue on custom pods date time fields #5382
My WP should be in UTC+2 (Belgian hour) but if I do so, when adding a date into one of my pods, it actually remove 3 hours to the time added. Let's I write 10 am, after saving it will show 7 am. The only way to have a correct display of the website is to define it at UTC-1, but then the saving time is incorrect...
In WP general settings, the time stamp under the UTC settings is showing the correct time if I choose UTC+2. Also this issue doesn't seem to affect the time of the post (it's not changing after saving).
Any idea of what can be wrong? Thanks in advance!
EDIT BY JORY:
``` Copy and paste your System Details from **Pods Admin > Settings > Debug Information** in WordPress admin here. ```
Pods Package Export (helpful!)
I will need a bit more info on how you configured your field and how you display the date/time data.
One thing that does instantly come to mind is that I believe BE has winter/summer time as well (Same als NL where I am from).
Hi @JoryHogeveen ,
Sorry I was not available sooner to give you some feedback.
Thanks for your answer. Indeed we have winter and summer time and the issue appears since we are in summer time. I tried to put my Wordpress in Brussels but the problem is still there. The only way to see the correct date is to put it to UTC-1 but I guess it will not be right once we'll be in winter time...
I have a custom PHP page calling that field and there the hours are showing perfectly well.
I don't know if this is what you need. If you need anything else, just let me know.
Can you also share your Pods package export so I can try to reproduce your issue?
I've edited your original report with these options added. You can edit the report again to add the package export and share environment details.
Thanks @JoryHogeveen for the quick feedback.
Here is the export:
@sc0ttkclark Could you elaborate on the