- datetime picker as vue component

- delete bounding box via leaflet button
This commit is contained in:
Arno Kaimbacher 2019-12-03 14:41:44 +01:00
parent 2cdfbdb004
commit bc1313fa61
14 changed files with 31 additions and 23 deletions

View file

@ -37,15 +37,15 @@ class Coverage extends Model
public function setTimeAbsolutAttribute($value)
{
$this->attributes['time_absolut'] = \Illuminate\Support\Carbon::createFromFormat('d.m.Y H:i:s', $value);
$this->attributes['time_absolut'] = \Illuminate\Support\Carbon::createFromFormat('d-m-Y H:i:s', $value);
}
public function setTimeMinAttribute($value)
{
$this->attributes['time_min'] = \Illuminate\Support\Carbon::createFromFormat('d.m.Y H:i:s', $value);
$this->attributes['time_min'] = \Illuminate\Support\Carbon::createFromFormat('d-m-Y H:i:s', $value);
}
public function setTimeMaxAttribute($value)
{
$this->attributes['time_max'] = \Illuminate\Support\Carbon::createFromFormat('d.m.Y H:i:s', $value);
$this->attributes['time_max'] = \Illuminate\Support\Carbon::createFromFormat('d-m-Y H:i:s', $value);
}
/**