This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
reg6682
Hello,
I'm trying to have 2 time fields in my model/controller. Everything looks ok till I hit create. Saving fails with "Unexpected data found. Unexpected data found. Data missing" in Carbon.php#385
Any idea what am I doing wrong?
Migration
$table->time('open_from'); $table->time('open_to');
Model
public $dates = ['open_from', 'open_to'];
Fields
open_from: label: From span: left type: datepicker mode: time open_to: label: To span: right type: datepicker mode: time
- I'm sorry for the formatting
Last updated
1-2 of 2