1 year ago

Setting custom date results an error

Posted 1 year ago by AlexanderKim

From L5.6 documentation, i can change default date format in a model:

class Flight extends Model
     * The storage format of the model's date columns.
     * @var string
    protected $dateFormat = 'd.m.Y';

However, when i do this, i'm getting this error:

The separation symbol could not be found Unexpected data found. Trailing data

Do i need to update my schema? I am using currently:


Please sign in or create an account to participate in this conversation.