summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJoseph Breihan <josephbreihan@gmail.com>2015-10-05 01:17:32 -0400
committerJoseph Breihan <josephbreihan@gmail.com>2015-10-05 01:17:32 -0400
commit6e495cd58364976ac67ffc3e2368298818b95132 (patch)
tree6c49f8ce384bf8495d5a438aafdf84b2e5b9ba41 /docs
parent03623be6e2edab2fed866404591c6dba225d66d0 (diff)
downloadbabel-6e495cd58364976ac67ffc3e2368298818b95132.tar.gz
documentation: Correct timezone in example.
Update example in Date and Time documentation to reflect metazone translation. Fixes https://github.com/python-babel/babel/issues/108
Diffstat (limited to 'docs')
-rw-r--r--docs/dates.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dates.rst b/docs/dates.rst
index 818a394..f35ee15 100644
--- a/docs/dates.rst
+++ b/docs/dates.rst
@@ -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,