Merge pull request #12583 from inietov/fixes/user_start_and_end_date_error

Fixed User start and end date throws error [sc-20228]
This commit is contained in:
snipe 2023-02-28 15:30:46 -08:00 committed by GitHub
commit d13e1b32e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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