]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
documentation: Correct timezone in example. 271/head
authorJoseph Breihan <josephbreihan@gmail.com>
Mon, 5 Oct 2015 05:17:32 +0000 (01:17 -0400)
committerJoseph Breihan <josephbreihan@gmail.com>
Mon, 5 Oct 2015 05:17:32 +0000 (01:17 -0400)
Update example in Date and Time documentation to reflect metazone
translation.

Fixes https://github.com/python-babel/babel/issues/108

docs/dates.rst

index 818a3941bafbe04951732577fc673202f90032e4..f35ee15f7be619c3df91e154937efe862ade9ae3 100644 (file)
@@ -352,7 +352,7 @@ functions in the ``babel.dates`` module, most importantly the
 
     >>> tz = get_timezone('Europe/Berlin')
     >>> get_timezone_name(tz, locale=Locale.parse('pt_PT'))
-    u'Hor\xe1rio Alemanha'
+    u'Hora da Europa Central'
 
 You can pass the function either a ``datetime.tzinfo`` object, or a
 ``datetime.date`` or ``datetime.datetime`` object. If you pass an actual date,