diff --git a/app/Models/License.php b/app/Models/License.php index ba00b7d0d4..2ea10939fa 100755 --- a/app/Models/License.php +++ b/app/Models/License.php @@ -34,9 +34,9 @@ class License extends Depreciable protected $casts = [ - 'purchase_date' => 'date:Y-m-d', - 'expiration_date' => 'date:Y-m-d', - 'termination_date' => 'date:Y-m-d', + 'purchase_date' => 'date', + 'expiration_date' => 'date', + 'termination_date' => 'date', 'category_id' => 'integer', 'company_id' => 'integer', ];