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

Give an option to set a date at midnight #819

Closed
wants to merge 3 commits into from
Closed

Give an option to set a date at midnight #819

wants to merge 3 commits into from

Conversation

PhilippeThouvenot
Copy link

Set a casted date to midgnit, avoir current time in date when an input which doesn't have time Ex: Y-m-d

#[WithCast(DateTimeInterfaceCast::class, setMidnight: true)]

@rubenvanassche
Copy link
Member

Mhh I think it is up to the user to change the data after the data creation, feels a bit sketchy to add an option which doesn't exist in PHP.

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.

2 participants