Browse Source

Added template syntax highlighting in docs/topics/i18n/timezones.txt.

Tim Graham 8 years ago
parent
commit
19a140a1b3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      docs/topics/i18n/timezones.txt

+ 4 - 0
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