Adds format to the dates cast

This commit is contained in:
Ivan Nieto Vivanco 2023-02-28 17:24:14 -06:00
parent 23fe11c71e
commit ad598425ef

View file

@ -80,8 +80,8 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
'created_at', 'created_at',
'updated_at', 'updated_at',
'deleted_at', 'deleted_at',
'start_date', 'start_date' => 'date_format:Y-m-d',
'end_date', 'end_date' => 'date_format:Y-m-d',
]; ];