Fix saving a tag’s date

The `date` function takes the fieldname where a date is stored, not the literal date.
This commit is contained in:
Joris de Vries 2017-02-22 20:07:30 +01:00
parent 2082e8d462
commit 0d32f16041

View File

@ -49,7 +49,7 @@ class TagFormRequest extends Request
$data = [
'tag' => $this->string('tag'),
'date' => $this->date($date),
'date' => $this->date('date'),
'description' => $this->string('description'),
'latitude' => $latitude,
'longitude' => $longitude,