Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Clock] Add a polyfill for DateTimeImmutable::createFromTimestamp()#54442
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
dbf7abe to27a7fbbComparederrabus commentedMar 30, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I ignored fabbot's proposed exception message formatting because I'd like to stay close to the exception message generated by the upstream implementation. |
27a7fbb to7cf2d71CompareUh oh!
There was an error while loading.Please reload this page.
7cf2d71 toe2e7ffaCompare
nicolas-grekas left a comment
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.
Good catch, I missed this one :)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
7ca0fbd tocc1144dCompareUh oh!
There was an error while loading.Please reload this page.
cc1144d to9e48e0dComparederrabus commentedApr 9, 2024
Ready |
nicolas-grekas commentedApr 9, 2024
Thank you@derrabus. |
This PR adds the new
createFromTimestamp()method introduced inphp/php-src#12413 to ourDatePointclass. It comes with a polyfill implementation for PHP 8.2/8.3.