Skip to content

[Clock] initialize the current time with midnight before modifying the date #54530

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
Apr 11, 2024

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Apr 9, 2024

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues Fix #54497
License MIT

@derrabus
Copy link
Member

derrabus commented Apr 9, 2024

Mind fabbot. 🙂

@nicolas-grekas
Copy link
Member

I think we can do something more robust thanks to date_parse, which will tell us when relative dates are used. I'm giving it a try.

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

I spent too many hours on this, thanks for the patch, I only have minor improvements to suggest!

@xabbuh
Copy link
Member Author

xabbuh commented Apr 11, 2024

@nicolas-grekas done

@xabbuh xabbuh merged commit 92c0d17 into symfony:6.4 Apr 11, 2024
7 of 10 checks passed
@xabbuh xabbuh deleted the issue-54497 branch April 11, 2024 11:56
This was referenced Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants