Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ошибка в Date::make #5

Closed
DarkOracleLex opened this issue Jun 16, 2022 · 1 comment
Closed

Ошибка в Date::make #5

DarkOracleLex opened this issue Jun 16, 2022 · 1 comment
Assignees

Comments

@DarkOracleLex
Copy link

Ставит 01-01-1970 дату, если в БД дата null
image

lee-to added a commit that referenced this issue Jun 16, 2022
@lee-to lee-to self-assigned this Jun 16, 2022
@lee-to
Copy link
Collaborator

lee-to commented Jun 16, 2022

Исправил, для поля нужно добавить указание nullable
Date::make('Created at')->nullable()

@lee-to lee-to closed this as completed Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants