Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When adding a new node via the content calendar view, the scheduler field is correctly pre-populated with the date, but uses the current time, even if scheduler's default time is set.
Steps to reproduce
- Go to /admin/content-calendar
- Add a node from a date in the future
- Check the scheduler field
Proposed resolution
Use the value stored in scheduler.settings.default_time
from /admin/config/content/scheduler
Comment | File | Size | Author |
---|---|---|---|
#8 | 3165708-8.patch | 1.16 KB | andy-blum |
#2 | Screen Shot 2020-08-17 at 3.10.00 PM.png | 17.48 KB | andy-blum |
#2 | Screen Shot 2020-08-17 at 3.09.38 PM.png | 81.32 KB | andy-blum |
Comments
Comment #2
andy-blumscreenshots for clarity
Comment #3
andy-blumComment #4
andy-blumComment #5
lukas.fischer CreditAttribution: lukas.fischer as a volunteer and at NETNODE AG commentedHey Andy, thank you for bringing this up. If you can provide a patch, that would be amazing!
Comment #6
andy-blumPatch attached
Comment #7
andy-blumComment #8
andy-blumPrevious patch not working for me. Re-rolled.
Comment #10
lukas.fischer CreditAttribution: lukas.fischer as a volunteer and at NETNODE AG commentedNow in dev. Will be part of next beta release.