- 🇮🇹Italy Giuseppe87
From my test, the patch doesn't work when in case of a paragraph which needs to be unpublished, if the cron run within 1 hour after the end-date publication time of the paragraph.
I've updated the related issue to consider time-zone, so I think this one could be considered a duplicate of that?
- Status changed to RTBC
almost 2 years ago 12:21pm 18 October 2023 - 🇫🇷France goz
Commited on duplicate #3184191. Can you confirm the commit solve your issue @stefan.korn ?
- 🇩🇪Germany stefan.korn Jossgrund
@goz: somewhat late reply, but I can confirm that this issue is now fixed in HEAD.
Still I would propose some small code changes like described in #5. Basically using the computed properties for getting the start and end date instead of creating them (again) from value
the scheduler_field type is extending from Core DateRangeItem. DateRangeItem is providing start_date and end_date computed properties which return a DrupalDateTime. So there is no need for loading this again with DrupalDateTime::createFromFormat() from the field values.
Putting these and some other small changes in the MR for this issue.
- Merge request !18Issue #3250384 by stefan.korn: Scheduler field plugin Publication - timezone handling → (Open) created by stefan.korn