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

merge 3.x -> 3.next #451

Merged
merged 37 commits into from
Dec 26, 2023
Merged

merge 3.x -> 3.next #451

merged 37 commits into from
Dec 26, 2023

Conversation

LordSimal
Copy link
Contributor

No description provided.

brenoroosevelt and others added 30 commits September 19, 2023 18:08
* Add half property and  isFirstHalfOfYear, IsSecondHalfOfYear helpers

---------

Co-authored-by: breno <[email protected]>
Change only Chronos to extend DateTimeImmutable once again
Align Chronos::getTimezone() return type with DateTimeImmutable
Rename toNative() toDateTimeImmutable()
Bring back toNative() alias of toDateTimeImmutable()
Make all classes explicitly implemement Stringable as recommeneded
by the PHP docs.
Fix casting to string for ChronosDate and ChronosTime.
Allow passing DatePeriod options to diffFiltered()
Allow setting time zone when converting to DateTimeImmutable
Remove ChronosInterface references and clean up ChronosDate and ChronosTime refs
Support creating Chronos from ChronosTime
This was accidently removed in the shuffle of #417 and #427

Fixes #432
Restore Chronos::toNative()
Add microseconds to Chronos::endOfDay()
dereuromark and others added 7 commits November 2, 2023 11:40
Co-authored-by: Edgaras Janušauskas <[email protected]>
add/sub year or month is now addyears and submonths
Pluralize years and months in function
Provide PSR-20 Clock implementation

Co-authored-by: odan <Frisco02>
Run composer normalize over composer.json
@LordSimal LordSimal added this to the 3.x milestone Dec 26, 2023
@dereuromark dereuromark merged commit 2046a0e into 3.next Dec 26, 2023
12 of 13 checks passed
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.

8 participants