mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.10.x] Added template syntax highlighting in docs/topics/i18n/timezones.txt.
Backport of 19a140a1b37471e7e99f1fbb5e717b0d605a1895 from master
This commit is contained in:
parent
be535960b1
commit
1c47c7e6f1
@ -251,6 +251,8 @@ output for computers rather than for humans. The following filters and tags,
|
|||||||
provided by the ``tz`` template tag library, allow you to control the time zone
|
provided by the ``tz`` template tag library, allow you to control the time zone
|
||||||
conversions.
|
conversions.
|
||||||
|
|
||||||
|
.. highlight:: html+django
|
||||||
|
|
||||||
Template tags
|
Template tags
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
@ -366,6 +368,8 @@ For example::
|
|||||||
|
|
||||||
{{ value|timezone:"Europe/Paris" }}
|
{{ value|timezone:"Europe/Paris" }}
|
||||||
|
|
||||||
|
.. highlight:: python
|
||||||
|
|
||||||
.. _time-zones-migration-guide:
|
.. _time-zones-migration-guide:
|
||||||
|
|
||||||
Migration guide
|
Migration guide
|
||||||
|
Loading…
x
Reference in New Issue
Block a user