Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[VarDumper] add caster for IntlTimeZone #28559

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

Merged
merged 1 commit into from
Sep 23, 2018

Conversation

jschaedl
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #28554
License MIT
Doc PR -

@nicolas-grekas
Copy link
Member

should we add dump getDSTSavings only when useDaylightTime is true?

@nicolas-grekas nicolas-grekas added this to the next milestone Sep 23, 2018
@nicolas-grekas
Copy link
Member

can be rebased now that #28555 is merged (and thus can leverage castError)

@jschaedl
Copy link
Contributor Author

on it

@jschaedl jschaedl force-pushed the vd-caster-intl_time_zone branch from 091f70c to 02d4212 Compare September 23, 2018 10:53

public function testCastIntlTimeZoneWithDST()
{
$var = \IntlTimeZone::createTimeZone('Europe/Berlin');
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we take another TZ, since we know Europe is going to give up DST next year?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes sure, I totally forgot about that.

@nicolas-grekas nicolas-grekas force-pushed the vd-caster-intl_time_zone branch from 07c00af to c94217c Compare September 23, 2018 14:56
@nicolas-grekas
Copy link
Member

Thank you @jschaedl.

@nicolas-grekas nicolas-grekas merged commit c94217c into symfony:master Sep 23, 2018
nicolas-grekas added a commit that referenced this pull request Sep 23, 2018
This PR was squashed before being merged into the 4.2-dev branch (closes #28559).

Discussion
----------

[VarDumper] add caster for IntlTimeZone

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

Commits
-------

c94217c [VarDumper] add caster for IntlTimeZone
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.2 Nov 1, 2018
This was referenced Nov 3, 2018
@jschaedl jschaedl deleted the vd-caster-intl_time_zone branch February 23, 2020 08:01
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.

3 participants