-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Intl] Document timezone support #6209
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
Conversation
c960657
commented
Feb 1, 2016
Q | A |
---|---|
Doc fix? | no |
New docs? | yes (symfony/symfony#17636) |
Applies to | 3.0+ |
Fixed tickets | N/A |
👍 After your code PR has been merged, a |
|
||
\Locale::setDefault('en'); | ||
|
||
$locales = Intl::getTimezoneBundle()->getTimezoneNames(); |
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.
$locales
variable doesn't store locales but time zone names. Same few lines below.
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.
Fixed.
@@ -335,6 +335,27 @@ to the current default locale:: | |||
$currencies = Intl::getCurrencyBundle()->getCurrencyNames('de'); | |||
// => array('AFN' => 'Afghanische Afghani', ...) | |||
|
|||
Timezones | |||
~~~~~~~~~ | |||
|
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.
version added ?
Closing because symfony/symfony#17636 was rejected. |