-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Clock] Add DatePoint
#18932
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
[Clock] Add DatePoint
#18932
Conversation
cd23d15
to
5d75dcd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would swap the main purpose and the "big advantage" below. (I would also not use "big advantage", that's too subjective)
The main feature of the class is to be bound to the global clock managed by the component, the strictness (and consist behavior across versions of PHP) is bonus.
We might also tell that all clock implementations in the component return a DatePoint?
5d75dcd
to
4aca469
Compare
Thank you for your comment, I reworded the whole section by taking your feedback into account 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, here are some proposals
0c23e95
to
38698e2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once my two remaining comments are handled, thanks!
38698e2
to
2a88325
Compare
2a88325
to
f14bc14
Compare
Thank you Alexandre. |
Fix #18930