Minor fixes in the docs of some intl filters

This commit is contained in:
Javier Eguiluz
2019-09-06 17:34:43 +02:00
parent 38341bbefd
commit b9abb294ab
3 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -4,8 +4,8 @@
.. versionadded:: 2.12 .. versionadded:: 2.12
The ``country_timezones`` filter was added in Twig 2.12. The ``country_timezones`` filter was added in Twig 2.12.
The ``country_timezones`` filter returns the names of the countries associated The ``country_timezones`` filter returns the names of the timezones associated
with a given timezone: with a given country code:
.. code-block:: twig .. code-block:: twig
+1 -1
View File
@@ -4,7 +4,7 @@
.. versionadded:: 2.12 .. versionadded:: 2.12
The ``currency_symbol`` filter was added in Twig 2.12. The ``currency_symbol`` filter was added in Twig 2.12.
The ``currency_symbol`` filter returns the currency name given its three-letter The ``currency_symbol`` filter returns the currency symbol given its three-letter
code: code:
.. code-block:: twig .. code-block:: twig
+1 -2
View File
@@ -4,8 +4,7 @@
.. versionadded:: 2.12 .. versionadded:: 2.12
The ``timezone_name`` filter was added in Twig 2.12. The ``timezone_name`` filter was added in Twig 2.12.
The ``timezone_name`` filter returns the timezone name given its two-letter The ``timezone_name`` filter returns the timezone name given a timezone identifier:
code:
.. code-block:: twig .. code-block:: twig