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

[Validator] Allow intl timezones#31292

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
fabpot merged 1 commit intosymfony:masterfromro0NL:tz-validator
May 1, 2019
Merged

[Validator] Allow intl timezones#31292

fabpot merged 1 commit intosymfony:masterfromro0NL:tz-validator
May 1, 2019

Conversation

@ro0NL
Copy link
Contributor

@ro0NLro0NL commentedApr 27, 2019
edited
Loading

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsref#28836
LicenseMIT
Doc PRsymfony/symfony-docs#11502

This PR considers the ICU timezones (#28831) as valid, as well as the PHP ones.

Both can be used inDateTimeZone, but expired timezones cannot be used withIntlTimeZone. TheintlCompatibility option ensures compatibility between both.

Practically this allows for bothUTC andEtc/UTC, where the latter should be preferred. I.e. currentlyEtc/UTC is considered an invalid timezone ... which it's not.

rvanlaak and teohhanhui reacted with thumbs up emojiteohhanhui reacted with hooray emoji
@nicolas-grekasnicolas-grekas added this to thenext milestoneApr 29, 2019
weaverryan pushed a commit to weaverryan/symfony that referenced this pull requestApr 30, 2019
This PR was merged into the 4.3-dev branch.Discussion----------[Validator] Extra timezone tests| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->This PR adds some extra tests, to cover the timezone domain. Ideally to go beforesymfony#31292 :)Commits-------4f2bba7 [Validator] Extra timezone tests
fabpot added a commit that referenced this pull requestApr 30, 2019
This PR was merged into the 4.3-dev branch.Discussion----------[Intl] Extra timezone tests| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no| Tests pass?   | yes   (including intl-data group)| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->Guarantees timezone data integrity. Ideally to go before#31292 :)Commits-------a3cac2b [Intl] Extra timezone tests
@fabpot
Copy link
Member

Thank you@ro0NL.

@fabpotfabpot merged commit7294b59 intosymfony:masterMay 1, 2019
fabpot added a commit that referenced this pull requestMay 1, 2019
This PR was merged into the 4.3-dev branch.Discussion----------[Validator] Allow intl timezones| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets | ref#28836| License       | MIT| Doc PR        |symfony/symfony-docs#11502This PR considers the ICU timezones (#28831) as valid, as well as the PHP ones.Both can be used in `DateTimeZone`, but expired timezones cannot be used with `IntlTimeZone`. The `intlCompatibility` option ensures compatibility between both.Practically this allows for both `UTC` and `Etc/UTC`, where the latter should be preferred. I.e. currently `Etc/UTC` is considered an invalid timezone ... which it's not.Commits-------7294b59 [Validator] Allow intl timezones
@ro0NLro0NL deleted the tz-validator branchMay 1, 2019 06:49
@fabpotfabpot mentioned this pull requestMay 9, 2019
@nicolas-grekasnicolas-grekas modified the milestones:next,4.4Oct 27, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

4 participants

@ro0NL@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp