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

  1. Go to /admin/content-calendar
  2. Add a node from a date in the future
  3. Check the scheduler field

Proposed resolution

Use the value stored in scheduler.settings.default_time from /admin/config/content/scheduler

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andy-blum created an issue. See original summary.

andy-blum’s picture

andy-blum’s picture

Issue summary: View changes
andy-blum’s picture

Title: Respect scheduler's default time configuration » Respect scheduler's "default time" configuration
lukas.fischer’s picture

Hey Andy, thank you for bringing this up. If you can provide a patch, that would be amazing!

andy-blum’s picture

FileSize
1.16 KB

Patch attached

andy-blum’s picture

Status: Active » Needs review
andy-blum’s picture

FileSize
1.16 KB

Previous patch not working for me. Re-rolled.

  • andy-blum authored d6ea246 on 8.x-1.x
    Issue #3165708 by andy-blum, lukas.fischer: Respect scheduler's "default...
lukas.fischer’s picture

Status: Needs review » Fixed

Now in dev. Will be part of next beta release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.