I’m using Plone 6 with Volto, and I’ve noticed that scheduled publishing times are off by a few hours compared to what I set in the UI. For example, if I schedule something for 10:00 AM, it actually publishes around 7:00 AM server time.
I checked my system time and Plone site settings, they seem correct. I'm wondering if it’s a time zone mismatch between Volto and the backend API or something with the Docker container timezone.
Has anyone run into this issue or found a way to align scheduled publishing with the correct time zone? Would appreciate any insight!
I set the publication date time to let's say 11:00AM and after saving the publication date becomes 01:00PM that is exactly what happens, so I expect the content to be published at 11:00AM but it becomes visible ad 01:00PM...
Looking at the pull request, even if the effects are exactly the same reported by jhonnmarie I guess it's a different issue after all: I'm encountering it on Plone Classic latest release 6.1.3 (sorry I forgot to menttion), not on plone.restapi and Volto.
As I said the "Dates" tab in the content type edit form works as expected but there are other 2 places where you can edit the publishing date in Plone classic:
the "properties" button in the folder contents
in the "Advanced..." link inside he workflows action menu of the sidebar
Those two ignores the timezone apparently.
Maybe I should open an issue on plone.app.content...
Before doing that, check the PLIP project board for plone.app.event based types. Although it is intended only for types, not the publication date, I recall that someone else brought it up in the discussion in one of the linked issues, but we decided that it was out of scope. My memory might be off, but I think it had to do with not storing a timezone or a time with the publication date.