Unable to schedule post: scheduled_publication_date error
Describe the bug
While I'm able to publish an episode NOW, when scheduling and choosing a valid date in the future YYYY-MM-DD HH:mm
I always get back the error: The scheduled_publication_date field must contain a valid date.
Steps to reproduce
- Create an episode
- Select SCHEDULE
- Select a Date and Time from the calendar and validate it's in the correct format in the input field
- Click Publish
Additionally, I attempted to use inspect and set the value
in the input to a valid date and then click publish, but the error still occurred.
Expected behavior
The episode would be scheduled for publication.
Actual behavior
Received a validation error.
Relevant logs and/or screenshots
Context
- Castopod: 1.1.2
- OS: Ubuntu
- Browser: Firefox, Chrome
- Web server: Apache
Possible fixes
I checked the code in \modules\Admin\Controllers\EpisodeController.php
around line 484 and nothing seems out of the ordinary. I cannot find a reason this would be failing.