Skip to content

Bug when "created_at" and "updated_at" fields are named differently #736

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

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

imjortiz
Copy link
Contributor

When I rename the fields "created_at" and "updated_at" it throws an error when using the getModified() method.
It throws the following error:
"IlluminateDatabaseEloquentModel::serializeDate():

When I rename the fields "created_at" and "updated_at" it throws an error when using the getModified() method.
It throws the following error:
"IlluminateDatabaseEloquentModel::serializeDate():
Copy link
Contributor

@parallels999 parallels999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closes #735 looks good to me, @anteriovieira can be merged without breaking anything

@anteriovieira anteriovieira merged commit 75b33ec into owen-it:master Mar 8, 2023
@anteriovieira
Copy link
Member

Thanks ❤️

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

Successfully merging this pull request may close these issues.

3 participants