-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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
[VarDumper] add caster for IntlTimeZone #28559
Conversation
jschaedl
commented
Sep 22, 2018
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 | - |
should we add dump getDSTSavings only when useDaylightTime is true? |
can be rebased now that #28555 is merged (and thus can leverage castError) |
on it |
091f70c
to
02d4212
Compare
|
||
public function testCastIntlTimeZoneWithDST() | ||
{ | ||
$var = \IntlTimeZone::createTimeZone('Europe/Berlin'); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
07c00af
to
c94217c
Compare
Thank you @jschaedl. |
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