From 1c47c7e6f17300fda23f3003fde655615e1e83f9 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 8 Oct 2016 07:48:17 -0400 Subject: [PATCH] [1.10.x] Added template syntax highlighting in docs/topics/i18n/timezones.txt. Backport of 19a140a1b37471e7e99f1fbb5e717b0d605a1895 from master --- docs/topics/i18n/timezones.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/topics/i18n/timezones.txt b/docs/topics/i18n/timezones.txt index be4665f95c..45bf33c09b 100644 --- a/docs/topics/i18n/timezones.txt +++ b/docs/topics/i18n/timezones.txt @@ -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 conversions. +.. highlight:: html+django + Template tags ------------- @@ -366,6 +368,8 @@ For example:: {{ value|timezone:"Europe/Paris" }} +.. highlight:: python + .. _time-zones-migration-guide: Migration guide