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

[Intl] Support DateTimeInterface in IntlDateFormatter::format #32947

Merged
merged 1 commit into from Aug 5, 2019

Conversation

pierredup
Copy link
Contributor

@pierredup pierredup commented Aug 5, 2019

Q A
Branch? 4.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #32898
License MIT
Doc PR N/A

Add support for DateTimeInterface to IntlDateFormatter::format which is supported since PHP 7.1.5.

Since this component supports PHP from 7.1.3, should version checks be added, to only support DateTimeInterface if PHP is >= 7.1.5 or should the minimum required PHP version bumped to 7.1.5?

Copy link
Contributor

@vudaltsov vudaltsov left a comment

Choose a reason for hiding this comment

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

I think, there's no problem in the fact that Symfony's version supports that earlier.

@xabbuh
Copy link
Member

xabbuh commented Aug 5, 2019

Shouldn't it be merged into 3.4?

@pierredup pierredup changed the base branch from 4.3 to 3.4 August 5, 2019 12:19
@pierredup
Copy link
Contributor Author

@xabbuh Indeed, thanks. I've switched the base to 3.4

@xabbuh xabbuh modified the milestones: 4.3, 3.4 Aug 5, 2019
@nicolas-grekas
Copy link
Member

Thank you @pierredup.

@nicolas-grekas nicolas-grekas merged commit b1e160c into symfony:3.4 Aug 5, 2019
nicolas-grekas added a commit that referenced this pull request Aug 5, 2019
…mat (pierredup)

This PR was merged into the 3.4 branch.

Discussion
----------

[Intl] Support DateTimeInterface in IntlDateFormatter::format

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #32898
| License       | MIT
| Doc PR        | N/A

Add support for `DateTimeInterface` to `IntlDateFormatter::format` which is supported since PHP 7.1.5.

Since this component supports PHP from 7.1.3, should version checks be added, to only support DateTimeInterface if PHP is >= 7.1.5 or should the minimum required PHP version bumped to 7.1.5?

Commits
-------

b1e160c Support DateTimeInterface in IntlDateFormatter::format
This was referenced Aug 26, 2019
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.

None yet

5 participants