Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Clock] Document createFromTimestamp() method#19768

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

Merged
javiereguiluz merged 1 commit into7.1fromfix_19766
Apr 10, 2024
Merged

Conversation

@javiereguiluz
Copy link
Member

Fixes#19766

@javiereguiluz
Copy link
MemberAuthor

@xabbuh thanks for your review and I'm sorry for these gross mistakes. I was in a rush and I committed without a proper review first. Everything is fixed now. Thanks!

xabbuh reacted with thumbs up emoji

@derrabus
Copy link
Member

Thank you for your work on this,@javiereguiluz!

I think, it is worth mentioning that this method is part of a set of (more undocumented) polyfills. ThecreateFromTimestamp() method will be added toDateTimeImmutable (and thus to ourDatePoint class as well) in PHP 8.4. My polyfill makes this functionality available on PHP 8.2 already. The other polyfilled methods that have existed before my PR already aresetMicrosecond() andgetMicrosecond(), both added by@nicolas-grekas insymfony/symfony#53942.

javiereguiluz reacted with thumbs up emoji

@javiereguiluzjaviereguiluz merged commit7eb958f into7.1Apr 10, 2024
@javiereguiluzjaviereguiluz deleted the fix_19766 branchApril 10, 2024 13:31
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

7.1

Development

Successfully merging this pull request may close these issues.

[Clock] Add a polyfill for DateTimeImmutable::createFromTimestamp()

5 participants

@javiereguiluz@derrabus@xabbuh@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp